From: Werner Lemberg Date: Wed, 26 Jan 2005 12:56:40 +0000 (+0000) Subject: * mf/feta-schrift.mf ("Trill"): Fix start position of connection X-Git-Tag: release/2.5.14~221 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=45dcd7a85c2d35f41d58dd676ad41b6ee75ac444;p=lilypond.git * mf/feta-schrift.mf ("Trill"): Fix start position of connection between `t' and `r'. Unify bulb with the rest of `r' to avoid grazing outlines which confuses the overlap removal algorithm of fontforge. --- diff --git a/ChangeLog b/ChangeLog index 116b73cb4a..02dd6ba1ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,11 @@ * mf/feta-toevallig.mf (draw_meta_sharp): Fix shape to avoid curves with inflections for the 1/2 sharp glyph. + * mf/feta-schrift.mf ("Trill"): Fix start position of connection + between `t' and `r'. + Unify bulb with the rest of `r' to avoid grazing outlines which + confuses the overlap removal algorithm of fontforge. + 2005-01-24 Werner Lemberg * mf/feta-autometric.mf (fet_beginfont): Set font_coding_scheme diff --git a/mf/feta-schrift.mf b/mf/feta-schrift.mf index 60470d5a96..92ddf03bf7 100644 --- a/mf/feta-schrift.mf +++ b/mf/feta-schrift.mf @@ -840,8 +840,8 @@ fet_beginchar ("Trill (`tr')", "trill"); z6''' = point 2.9 of krul_p; penpos6''' (hair_thick, angle (direction 2.9 of krul_p) + 90); penpos7 (hair_thick, up_angle + 90); - z7' = point 3.3 of krul_p; - penpos7' (hair_thick, angle (direction 3.3 of krul_p) + 90); + z7' = point 3.2 of krul_p; + penpos7' (hair_thick, angle (direction 3.2 of krul_p) + 90); % the left loop penstroke z5'e{direction 1.1 of krul_p} @@ -878,26 +878,29 @@ fet_beginchar ("Trill (`tr')", "trill"); -- z7'r; (u, v) = before intersectiontimes after; + save before_bulb, after_bulb; + path before_bulb, after_bulb; + before_bulb := z9r{up} + ..tension 0.94.. z13r{down}; + after_bulb := z13l{up} + ..tension 1.06.. z15{down}; + (u_bulb, v_bulb) = before_bulb intersectiontimes after_bulb; + % the connection between `t' and `r', the body of the `r', - % and part of the bulb + % and the bulb fill z7'l{z7 - z7'} -- z7l .. z9l{down} -- simple_serif (z10l, z10r, -30) -- z9r{up} - ..tension 0.94.. z13r{down} - -- z15{down} + .. subpath (0, u_bulb) of before_bulb + .. subpath (v_bulb, infinity) of after_bulb + .. z14 .. z13l{up} .. subpath (0, u) of before .. subpath (v, infinity) of after -- cycle; - % the rest of the bulb - fill z15{up} - ..tension 1.06.. z13l{down} - .. z14 - .. cycle; - penlabels (range 1 thru 15); penlabels (4', 5', 5'', 5''', 6', 6'', 6''', 7'); fet_endchar;