]> git.donarmstrong.com Git - lilypond.git/blobdiff - mf/feta-beugel.mf
Imported sources
[lilypond.git] / mf / feta-beugel.mf
index ef2cd25f2cab3a871fc8be5259f08a3185399058..8ab96f18c61ce34fdaa2db0c8cc535b9fa3daf5d 100644 (file)
@@ -1,13 +1,24 @@
+
+
 input feta-autometric;
 input feta-macros;
+
+staffsize# := 20 pt#;  %% arbitrary.
+
+
 input feta-params;
 
 font_coding_scheme "feta braces";
 
-fet_beginfont("feta-braces", font_count);
+% we set the designsize arbitrarily at 10
+% if the * 10 is left out, pktrace gets confused  over the proper magnification,
+% and makes it too large.
+fet_beginfont("feta-braces", font_count * 10);
+
 mode_setup;
 
 
+
 save code;
 code := -1;
 
@@ -64,7 +75,7 @@ enddef;
 save stafflinethickness;
 save increment;
 
-stafflinethickness := 0.5pt#;
+linethickness := 0.5pt#;
 increment := 0.5pt#;
 y := 10pt#;
 
@@ -87,9 +98,9 @@ for i := 0 step 1 until font_count:
     x := y / 15;
 
     increment := x / 10;
-    stafflinethickness :=  min (0.5pt#, y/150);
+    linethickness :=  min (0.5pt#, y/150);
     if i = font_count:
-      draw_brace (y, x, stafflinethickness);
+      draw_brace (y, x, linethickness);
     fi
   endfor;
 endfor