X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mf%2Fparmesan-timesig.mf;h=faafe0fd87a64874a53f5c157939b84808f10a62;hb=e63c3e03f3ffb1a9f7ed91f84c2a448c6b8fb07e;hp=0b6098a793ad8c754733efd2eaa2bc4254637d36;hpb=2a0b1965e27a65b8ba1cfbad38ab4d25f5ec6aa6;p=lilypond.git diff --git a/mf/parmesan-timesig.mf b/mf/parmesan-timesig.mf index 0b6098a793..faafe0fd87 100644 --- a/mf/parmesan-timesig.mf +++ b/mf/parmesan-timesig.mf @@ -1,12 +1,23 @@ -% -%-Fundamental-%- -*-Metafont-*- -% parmesan-timesig.mf -- implement ancient time signatures -% -% source file of LilyPond's pretty-but-neat music font -% -% (c) 1998--2006 Mats Bengtsson , +% Feta (not the Font-En-Tja) music font -- ancient time signatures +% This file is part of LilyPond, the GNU music typesetter. +% +% Copyright (C) 1998--2009 Mats Bengtsson , % Christian Mondrup -% (c) 2002--2006 Juergen Reuter +% Copyright (C) 2002--2009 Juergen Reuter % +% +% LilyPond is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% LilyPond is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with LilyPond. If not, see . fet_begingroup ("timesig"); @@ -249,21 +260,20 @@ def neomensural_timesig (expr verbose_name, internal_name, .5 (neomensural_Cdiameter# + neomensural_Cthickness#)); if slashed: + pickup penrazor scaled neomensural_Cthickness; + + save t; + t := neomensural_Cthickness / 2; + if (full_circle or dotted): - draw_block ((-neomensural_Cthickness / 2, - -d + neomensural_Cthickness / 2), - (neomensural_Cthickness / 2, - h - neomensural_Cthickness / 2)); + draw (0, -d + t) + -- (0, h - t); elseif reverse_circle: - draw_block ((0, - -d + neomensural_Cthickness / 2), - (neomensural_Cthickness, - h - neomensural_Cthickness / 2)); + draw (t, -d + t) + -- (t, h - t); else: - draw_block ((-neomensural_Cthickness, - -d + neomensural_Cthickness / 2), - (0, - h - neomensural_Cthickness / 2)); + draw (-t, -d + t) + -- (-t, h - t); fi; fi;