]> git.donarmstrong.com Git - lilypond.git/commit
(draw_petrucci_g_clef): Resolve all self intersections.
authorWerner Lemberg <wl@gnu.org>
Wed, 2 May 2007 19:43:34 +0000 (21:43 +0200)
committerWerner Lemberg <wl@gnu.org>
Wed, 2 May 2007 19:43:34 +0000 (21:43 +0200)
commit9e3dc559a14de6f26edf09859a431660046c0bbb
treefb0df799a1f11e2760c663fca14c0b109fabcbdb
parent14c42bc6523f8bd762660d9af31186c8ede4b4a1
(draw_petrucci_g_clef): Resolve all self intersections.

The algorithm used by mf2pt1 to compute the correct orientation of an
outline may fail if there are self intersections.  For simple outlines
which don't intersect other outlines this is automatically fixed by
fontforge, but more complicated shapes need the correct orientation.

Note that the recently released metapost 1.0 has an improved version
of the `turningnumber' primitive which gives reliable results in
all cases (including paths with self intersections); however, mf2pt1
hasn't been updated yet to use it.
mf/parmesan-clefs.mf