merge segments
- split the glyph into several parts, where each part is a tree without intersection (only turns and extremities)
- at each intersection, merge the parts where the angle near 180° (ie. follow a global path)
Required for #14
Required for #14