]> git.donarmstrong.com Git - lilypond.git/blobdiff - mf/parmesan-custodes.mf
Add '-dcrop' option to ps and svg backends
[lilypond.git] / mf / parmesan-custodes.mf
index f6734c53d94f9bacd3aa5b934d652470cbc72209..144d84392df397d6b45fc6df5301ec68fd67a89b 100644 (file)
@@ -1,10 +1,20 @@
-% -%-Fundamental-%- -*-Metafont-*-
-% parmesan-custodes.mf -- implement ancient custodes
-% 
-% source file of LilyPond's pretty-but-neat music font
-% 
-% (c) 2000--2006 Juergen Reuter <reuter@ipd.uka.de>
+% Feta (not the Font-En-Tja) music font --  ancient custodes
+% This file is part of LilyPond, the GNU music typesetter.
+%
+% Copyright (C) 2000--2015 Juergen Reuter <reuter@ipd.uka.de>
 % 
+% The LilyPond font 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, or under the SIL Open Font License.
+%
+% 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 <http://www.gnu.org/licenses/>.
 
 save black_notehead_width;
 numeric black_notehead_width;
@@ -77,16 +87,15 @@ def custos_hufnagel (expr verbose_name, internal_name,
 
                define_pixels (ht, wd, pen_size, stem_ht);
 
-               save ellipse, pat;
+               save ellipse, pat, T;
                path ellipse, pat;
+               transform T;
 
-               pickup pencircle xscaled linethickness
-                                yscaled pen_size
-                                rotated -dalpha;
-
-               ellipse := fullcircle xscaled linethickness
-                                     yscaled pen_size
-                                     rotated -dalpha;
+               T := identity xscaled linethickness
+                             yscaled pen_size
+                             rotated -dalpha;
+               pickup pencircle transformed T;
+               ellipse := fullcircle transformed T;
 
                if direction = dir_up:
                        top y1 = ht / 2;
@@ -184,14 +193,14 @@ def custos_medicaea (expr verbose_name, internal_name,
 
                define_pixels (ht, wd, stem_ht);
 
-               save ellipse;
+               save ellipse, T;
                path ellipse;
+               transform T;
 
-               pickup pencircle xscaled 0.6 linethickness
-                                yscaled ht;
-
-               ellipse := fullcircle xscaled 0.6 linethickness
-                                     yscaled ht;
+               T := identity xscaled 0.6 linethickness
+                             yscaled ht;
+               pickup pencircle transformed T;
+               ellipse := fullcircle transformed T;
 
                lft x1 = 0;
                y1 = 0;
@@ -384,25 +393,24 @@ def custos_mensural (expr verbose_name, internal_name,
                dalpha = direction * alpha;
 
                if staffline_adjustment = between_staff_lines:
-                       stem_ht# = 1.00 staff_space#;
+                       stem_ht# = 2.00 staff_space#;
                elseif staffline_adjustment = on_staff_line:
-                       stem_ht# = 1.50 staff_space#;
+                       stem_ht# = 2.50 staff_space#;
                else: % staffline_adjustment = anywhere
-                       stem_ht# = 1.25 staff_space#;
+                       stem_ht# = 2.25 staff_space#;
                fi;
 
                define_pixels (ht, wd, stem_ht);
 
-               save ellipse;
+               save ellipse, T;
                path ellipse;
+               transform T;
 
-               pickup pencircle xscaled linethickness
-                                yscaled 0.4ht
-                                rotated -dalpha;
-
-               ellipse := fullcircle xscaled linethickness
-                                     yscaled 0.4ht
-                                     rotated -dalpha;
+               T := identity xscaled linethickness
+                             yscaled 0.4 ht
+                             rotated -dalpha;
+               pickup pencircle transformed T;
+               ellipse := fullcircle transformed T;
 
                if direction > 0:
                        bot y1 = bot y3 = bot y5 = -direction * 0.33 ht;