X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=mf%2Ffeta-schrift.mf;h=7fd09c134199d7cc69dd90e0279e9e16f12be6ea;hb=58318dbf7e2d2418b72f05c0e1b4aab87328972d;hp=6c003c4685ba09ccbe5ca3490dcb167ef40e0759;hpb=62f221b6b3861ff055dc0384ec3c48cc665688cd;p=lilypond.git diff --git a/mf/feta-schrift.mf b/mf/feta-schrift.mf index 6c003c4685..7fd09c1341 100644 --- a/mf/feta-schrift.mf +++ b/mf/feta-schrift.mf @@ -4,7 +4,7 @@ % source file of the Feta (defintively not an abbreviation for Font-En-Tja) % music font % -% (c) 1997--2008 Han-Wen Nienhuys +% (c) 1997--2009 Han-Wen Nienhuys % Jan Nieuwenhuizen % @@ -1557,4 +1557,54 @@ fet_beginchar ("Straight caesura", "caesura.straight"); labels(1a, 1b, 2a, 2b, 3a, 3b, 4a, 4b); fet_endchar; + +fet_beginchar ("snap pizzicato (Bartok pizzicato)", "snappizzicato"); + save height, width, thickness, superness; + + height# = 4/15 staffsize#; + width# = height#; + thickness# = 1.3 linethickness#; + define_pixels (height, width); + define_whole_blacker_pixels (thickness); + + set_char_box (width# / 2, width# / 2, height# / 2, height# / 2); + + penpos1 (thickness, 90); + penpos2 (thickness, 180); + penpos3 (thickness, 270); + penpos4 (thickness, 0); + + x1 = 0; + y1r = h; + x3 = x1; + y3r = -y1r; + x4r = w; + y4 = 0; + x2r = -x4r; + y2 = y4; + + penlabels (1, 2, 3, 4); + + % mf doesn't handle pixel dropouts in outline objects, so we use + % `draw' if not called by mpost + if known miterlimit: + penstroke z1e + .. z2e + .. z3e + .. z4e + .. cycle; + else: + pickup pencircle scaled thickness; + draw z1 + .. z2 + .. z3 + .. z4 + .. cycle; + fi; + z5 = (0, 0); + z6 = (x5, 1.5*y1r); + pickup pencircle scaled thickness; + draw z5 -- z6; +fet_endchar; + fet_endgroup ("scripts");