]> git.donarmstrong.com Git - lilypond.git/commitdiff
font: clean up staffline-display in testing mode
authorJanek Warchoł <lemniskata.bernoullego@gmail.com>
Fri, 6 Dec 2013 16:45:59 +0000 (17:45 +0100)
committerBenkő Pál <benko.pal@gmail.com>
Thu, 19 Dec 2013 16:34:12 +0000 (17:34 +0100)
Previous testing code was a mix of hideous copy&paste with
non-obvious passing glyph outlines around, which attempted
to produce additional glyphs in testing mode, so that there
would be both on-staffline and on-staffspace variations.

That code was completely unreadable and unmaintainable.

Instead i've introduced a global variable that determines
how the stafflines will be printed relative to the glyphs.
To see alternative configuration, just change that value.

59 files changed:
mf/debugging-settings.mf [new file with mode: 0644]
mf/feta-accidentals.mf
mf/feta-alphabet.mf
mf/feta-clefs.mf
mf/feta-flags-generic.mf
mf/feta-flags11.mf
mf/feta-flags13.mf
mf/feta-flags14.mf
mf/feta-flags16.mf
mf/feta-flags18.mf
mf/feta-flags20.mf
mf/feta-flags23.mf
mf/feta-flags26.mf
mf/feta-flats.mf
mf/feta-generic.mf
mf/feta-macros.mf
mf/feta-naturals.mf
mf/feta-noteheads-generic.mf
mf/feta-noteheads.mf
mf/feta-noteheads11.mf
mf/feta-noteheads13.mf
mf/feta-noteheads14.mf
mf/feta-noteheads16.mf
mf/feta-noteheads18.mf
mf/feta-noteheads20.mf
mf/feta-noteheads23.mf
mf/feta-noteheads26.mf
mf/feta-parenthesis.mf
mf/feta-rests.mf
mf/feta-scripts.mf
mf/feta-sharps.mf
mf/feta-timesignatures.mf
mf/feta11.mf
mf/feta13.mf
mf/feta14.mf
mf/feta16.mf
mf/feta18.mf
mf/feta20.mf
mf/feta23.mf
mf/feta26.mf
mf/parmesan-clefs.mf
mf/parmesan-generic.mf
mf/parmesan-noteheads-generic.mf
mf/parmesan-noteheads11.mf
mf/parmesan-noteheads13.mf
mf/parmesan-noteheads14.mf
mf/parmesan-noteheads16.mf
mf/parmesan-noteheads18.mf
mf/parmesan-noteheads20.mf
mf/parmesan-noteheads23.mf
mf/parmesan-noteheads26.mf
mf/parmesan11.mf
mf/parmesan13.mf
mf/parmesan14.mf
mf/parmesan16.mf
mf/parmesan18.mf
mf/parmesan20.mf
mf/parmesan23.mf
mf/parmesan26.mf

diff --git a/mf/debugging-settings.mf b/mf/debugging-settings.mf
new file mode 100644 (file)
index 0000000..e867713
--- /dev/null
@@ -0,0 +1,14 @@
+
+% Used for example to print glyphs with stafflines
+test := 0;
+
+if test = -1:
+        % TODO: what's this?  Seems to be broken...
+        mode := smoke;
+fi;
+
+% change this to 0.5 to have glyphs positioned on
+% staff spaces instead of stafflines in testing mode
+% (useful e.g. to check how accidentals visually interact
+% with stafflines in different configurations).
+stafflines_y_offset := 0;
index ca728f19493f0e256145ad8f82d62c9f0a2eca75..ef689c9d6801d77e1358a79245d15e45c7e30272 100644 (file)
 % along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
 
-%
-% also show in other configuration wrt staff lines.
-%
-def draw_shifted_too =
-if test > 0:
-       fet_beginchar ("shifted too", "");
-               set_char_box (0, 0, 0, 0);
-               currentpicture := remember_pic;
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-enddef;
-
-
 %
 % Accidentals from various sources, notably
 %
@@ -57,9 +42,6 @@ enddef;
 
 fet_begingroup ("accidentals");
 
-save remember_pic;
-picture remember_pic;
-
 input feta-arrow;
 
 input feta-sharps;
index 5663a791b7b0792d815441adefc37f19613c844d..e8e549ac78e32c6ee332069458f993dd00607bef 100644 (file)
@@ -1,4 +1,3 @@
-test := 0;
 
 staffsize# := design_size * pt#;
 
index fcf4a08c43e184f472d63e53b402ac71d82ff7bf..2b79030ae551ad8244b2628e44891f54365f12ca 100644 (file)
@@ -105,7 +105,7 @@ def draw_c_clef (expr reduction) =
 
        % ugh, should be bulb, not flare?
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 enddef;
 
 
@@ -270,7 +270,7 @@ def draw_bass_clef (expr exact_center, reduction) =
 
        penlabels (1, 2, 3, 4, 5, 6);
 
-       draw_staff_if_debugging (-3, 1, 0);
+       draw_staff_if_debugging (-3, 1);
 enddef;
 
 
@@ -482,7 +482,7 @@ def draw_gclef (expr reduction) =
        penlabels (range 101 thru 121);
        penlabels (110', 111');
 
-       draw_staff_if_debugging (-1, 3, 0);
+       draw_staff_if_debugging (-1, 3);
 enddef;
 
 
@@ -522,7 +522,7 @@ def draw_percussion_clef (expr reduction) =
        draw_block ((-b, -d), (-b + razt, h));
        draw_block ((w - razt, -d), (w, h));
 
-       draw_staff_if_debugging (-3, 1, 1);
+       draw_staff_if_debugging (-3, 1);
 enddef;
 
 
@@ -729,7 +729,7 @@ def draw_tab_clef (expr reduction) =
        draw_tab_B ((-b + .025 reduced_ss, -d),
                    (2.1 reduced_ss, letterheight), 0.25);
 
-       draw_staff_if_debugging (-3, 2, 0.5);
+       draw_staff_if_debugging (-3, 2);
 enddef;
 
 
index 947cc8a35a487c91bfac13000e000812a9229d8c..64042220f4335d2f09dfe2c5a43d65d501418842 100644 (file)
 % along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
 
 
-if test = -1:
-       mode := smoke;
-fi
-
 staffsize# := design_size * pt#;
 
 mode_setup;
index 30cd7f0976c0887ab2bc1c11163be435e039189e..bf199c6e69ae25bb2f09e0052c9c009652573f38 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 11.22;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index 3210b1abc121c99af94856a26d694c86d0404367..4982c0aec266ba4c7fceba583b361965550dc508 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 12.60;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index 9a5449cc5d081bc580efed9ee831f78059f499bd..6ef0d6fe5ecea623fc0e66a16e55d3c9615f7708 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 14.14;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index d02993736a8bcdc25bd0bb2779bcb8fab1bea032..8e23c9c297244dd81bce6707ffe24b613ca43617 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 15.87;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index dcaefd440d5ffa02953b43ef8d880e82857c3aa6..b69f9e7bca1e70c079bd382c14d3ba4e0d3ebee5 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 17.82;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index b7b834ecc4e2fbc616d6c24ef13e24e7468ec389..f56676845bf8d4790292698ce032a23cf92476a2 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 20;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index dcd640c8a95c6903886e4f2d50b299869ab1a576..e51988d2e0e4380625fe8ddca5398fadf7a1e46a 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 22.45;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index b2a1fe616f69acec50d9f928d6a988b78ece1b61..a3276c1ad0f9e107c1de5108b7a3478b95e0c762 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 25.20;
-test := 0;
-
-
 input feta-flags-generic;
 
 end.
index e7b3402df26e4d57268a537176854cc1dd4f7cf5..b7470e2fece0dbd05a57140ca55f4f91a84a6059 100644 (file)
@@ -187,57 +187,37 @@ fet_beginchar ("Flat", "flat");
                                false, false);
        penlabels (range 0 thru 11);
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Flat (arrow up)", "flat.arrowup");
-       draw_arrowed_meta_flat (0, 0.8 staff_space#, 0.31 staff_space,
-                               true, false);
-       penlabels (range 0 thru 23);
-
-       remember_pic := currentpicture;
+        draw_arrowed_meta_flat (0, 0.8 staff_space#, 0.31 staff_space,
+                                true, false);
+        penlabels (range 0 thru 23);
 
-       draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Flat (arrow down)", "flat.arrowdown");
-       draw_arrowed_meta_flat (0, 0.8 staff_space#, 0.31 staff_space,
-                               false, true);
-       penlabels (range 0 thru 23);
-
-       remember_pic := currentpicture;
+        draw_arrowed_meta_flat (0, 0.8 staff_space#, 0.31 staff_space,
+                                false, true);
+        penlabels (range 0 thru 23);
 
-       draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Flat (arrow up and down)", "flat.arrowboth");
        draw_arrowed_meta_flat (0, 0.8 staff_space#, 0.31 staff_space,
                                true, true);
        penlabels (range 0 thru 23);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Flat (slashed)", "flat.slash");
        set_char_box (.4 staff_space#, .8 staff_space#,
                      0.6 staff_space#, 1.9 staff_space#);
@@ -271,9 +251,7 @@ fet_beginchar ("Flat (slashed)", "flat.slash");
        penlabels (12, 13);
        labels (14, 15);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -331,9 +309,7 @@ fet_beginchar ("Flat (slashed twice)", "flat.slashslash");
        penlabels (22, 23);
        labels (24, 25);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -447,15 +423,10 @@ fet_beginchar ("Flatflat (mirrored)", "mirroredflat.flat");
 
        currentpicture := currentpicture shifted (w/2, 0);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Semi flat", "mirroredflat");
        set_char_box (1.2 stafflinethickness#, .8 staff_space#,
                      0.6 staff_space#, 1.9 staff_space#);
@@ -560,10 +531,5 @@ fet_beginchar ("3/4 Flat", "flatflat.slash");
        penlabels (12, 13);
        labels (14, 15);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
-
-
-draw_shifted_too;
index b18e0c9288f5e50a1651f80abae8ec40641bb21e..e0d008bb2f435339a1153d750f5aa9cd5734a637 100644 (file)
 % along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
 
-if test = -1:
-       mode := smoke;
-fi
-
 staffsize# := design_size * pt#;
 
 mode_setup;
index 9d8d697108d74f847bdcd5d98a7be5105a425221..9a695225fb6d05b49d8ec8909c57af173550383b 100644 (file)
@@ -21,6 +21,8 @@
 % debugging
 %
 
+input debugging-settings.mf
+
 def print_penpos (suffix $) =
        message
          "z" & str$ & "l = (" & decimal x.$.l & ", " &decimal y.$.l & ");"
@@ -50,15 +52,15 @@ def treq =
 enddef;
 
 
-def draw_staff_if_debugging (expr first, last, offset) =
+def draw_staff_if_debugging (expr first, last) =
        if test <> 0:
                pickup pencircle scaled stafflinethickness;
 
                for i := first step 1 until last:
                        draw (-staff_space,
-                             (i + offset) * staff_space_rounded)
+                             (i + stafflines_y_offset) * staff_space_rounded)
                             -- (4 staff_space,
-                                (i + offset) * staff_space_rounded);
+                                (i + stafflines_y_offset) * staff_space_rounded);
                endfor;
        fi;
 enddef;
index aca7d3b5cf180fb081ae3b07691f21a9c080d6d3..e1c1e96b7445cbf8480b1cc705dbc2de435a18de 100644 (file)
@@ -126,9 +126,7 @@ def draw_natural (expr arrowup, arrowdown) =
                w := w + extendright;
        fi;
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 enddef;
 
 
@@ -137,29 +135,16 @@ fet_beginchar ("Natural", "natural");
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Natural (arrow up)", "natural.arrowup");
        draw_natural (true, false);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Natural (arrow down)", "natural.arrowdown");
        draw_natural (false, true);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Natural (arrows up and down)", "natural.arrowboth");
        draw_natural (true, true);
 fet_endchar;
-
-
-draw_shifted_too;
-
index 3c255073c8339bb64a559b2119e340c356423466..47293eb13c4428aa6afa40a3ec025597950d488f 100644 (file)
 % along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
 
 
-if test = -1:
-       mode := smoke;
-fi
-
 staffsize# := design_size * pt#;
 
 mode_setup;
index 3d61ce49c35f0fd7618b814b7bcfda822f0e42e5..2ebf537b59db941ed09c4e6fbc26a7a8717568a0 100644 (file)
 test_outlines := 0;
 
 
-save remember_pic;
-picture remember_pic;
-
-
 % Most beautiful noteheads are pronounced, not circular,
 % and not even symmetric.
 % These examples are inspired by [Wanske]; see literature list.
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % NOTE HEAD VARIABLES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -159,33 +154,17 @@ enddef;
 fet_beginchar ("Longa notehead", "uM2");
        draw_longa (true);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
 fet_beginchar ("Longa notehead", "dM2");
        draw_longa (false);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Longa notehead", "uM2");
-               draw_longa (true);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-
-
-       fet_beginchar ("Longa notehead", "dM2");
-               draw_longa (false);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 def draw_brevis (expr linecount, line_thickness_multiplier) =
        save stemthick, fudge, gap;
 
@@ -253,35 +232,17 @@ enddef;
 fet_beginchar ("Brevis notehead", "sM1");
        draw_brevis (1, 1);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Brevis notehead", "sM1");
-               draw_brevis(1, 1);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Double-lined brevis notehead", "sM1double");
        draw_brevis (2, 0.8);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Double-lined brevis notehead", "sM1double");
-               draw_brevis (2, 0.8);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Whole notehead", "s0");
        draw_outside_ellipse (1.80 - puff_up_factor / 3.0, 0, 0.707, 0);
        undraw_inside_ellipse (1.30, 125 - puff_up_factor * 10,
@@ -289,60 +250,26 @@ fet_beginchar ("Whole notehead", "s0");
 
        whole_notehead_width# := charwd;
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Whole notehead", "s0");
-               draw_outside_ellipse (1.80 - puff_up_factor / 3.0, 0,
-                                     0.707, 0);
-               undraw_inside_ellipse (1.30, 125 - puff_up_factor * 10,
-                                      0.68, 2 stafflinethickness#);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Half notehead", "s1");
        draw_outside_ellipse (1.53 - puff_up_factor / 3.0, 34, 0.66, 0.17);
        undraw_inside_ellipse (3.25, 33, 0.81, 2.5 stafflinethickness#);
 
        half_notehead_width# := charwd;
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Half notehead", "s1");
-               draw_outside_ellipse (1.53 - puff_up_factor / 3.0, 34,
-                                     0.66, 0.17);
-               undraw_inside_ellipse (3.25, 33, 0.81,
-                                      2.5 stafflinethickness#);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Quarter notehead", "s2");
        draw_quarter_path;
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Quarter notehead", "s2");
-               draw_outside_ellipse (1.49 - puff_up_factor / 3.0, 31,
-                                     0.707, 0);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
@@ -351,58 +278,26 @@ fet_beginchar ("Whole diamondhead", "s0diamond");
        undraw_inside_ellipse (1.30, 125, 0.6,
                               .4 staff_space# + stafflinethickness#);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Whole diamondhead", "s0diamond");
-               draw_outside_ellipse (1.80, 0, 0.495, 0);
-               undraw_inside_ellipse (1.30, 125, 0.6,
-                                      .4 staff_space# + stafflinethickness#);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Half diamondhead", "s1diamond");
        draw_outside_ellipse (1.50, 34, 0.49, 0.17);
        undraw_inside_ellipse (3.5, 33, 0.80,
                               .3 staff_space# + 1.5 stafflinethickness#);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Half diamondhead", "s1diamond");
-               draw_outside_ellipse (1.50, 34, 0.49, 0.17);
-               undraw_inside_ellipse (3.5, 33, 0.80,
-                                      .3 staff_space#
-                                      + 1.5 stafflinethickness#);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Quarter diamondhead", "s2diamond");
        draw_outside_ellipse (1.80, 35, 0.495, -0.25);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Quarter diamondhead", "s2diamond");
-               draw_outside_ellipse (1.80, 35, 0.495, -0.25);
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
@@ -561,19 +456,10 @@ enddef;
 fet_beginchar ("Whole trianglehead", "s0triangle");
        draw_whole_triangle_head;
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Whole trianglehead", "s0triangle");
-               draw_whole_triangle_head;
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 def draw_small_triangle_head (expr dir) =
        save hei, xs;
        save llap;
@@ -595,14 +481,14 @@ enddef;
 fet_beginchar ("Half trianglehead (downstem)", "d1triangle");
        draw_small_triangle_head (-1);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
 fet_beginchar ("Half trianglehead (upstem)", "u1triangle");
        draw_small_triangle_head (1);
 
-       draw_staff_if_debugging (-2, 2, 0.5);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -623,14 +509,14 @@ enddef;
 fet_beginchar ("Quarter trianglehead (upstem)", "u2triangle");
        draw_closed_triangle_head (1);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
 fet_beginchar ("Quarter trianglehead (downstem)", "d2triangle");
        draw_closed_triangle_head (-1);
 
-       draw_staff_if_debugging (-2, 2, 0.5);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -707,21 +593,21 @@ enddef;
 fet_beginchar ("Whole slashhead", "s0slash");
        draw_slash (4 slash_thick# + 0.5 staff_space#);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
 fet_beginchar ("Half slashhead", "s1slash");
        draw_slash (3.0 slash_thick# + 0.15 staff_space#);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
 fet_beginchar ("Quarter slashhead", "s2slash");
        draw_slash (1.5 slash_thick#);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -835,28 +721,10 @@ fet_beginchar ("Whole Crossed notehead", "s0cross");
 
        draw_cross (3.75);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Whole Crossed notehead", "s0cross");
-               save wid, hei;
-
-               wid# := black_notehead_width# + 4 stafflinethickness#;
-               hei# := noteheight# + stafflinethickness#;
-
-               set_char_box (0, wid#, hei# / 2, hei# / 2);
-
-               currentpicture := remember_pic;
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Half Crossed notehead", "s1cross");
        save wid, hei;
 
@@ -867,28 +735,10 @@ fet_beginchar ("Half Crossed notehead", "s1cross");
 
        draw_cross (3.0);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Half Crossed notehead", "s1cross");
-               save wid, hei;
-
-               wid# := black_notehead_width# + 2 stafflinethickness#;
-               hei# := noteheight# + stafflinethickness# / 2;
-
-               set_char_box (0, wid#, hei# / 2, hei# / 2);
-
-               currentpicture := remember_pic;
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("Crossed notehead", "s2cross");
        wid# := black_notehead_width#;
        hei# := noteheight#;
@@ -896,25 +746,10 @@ fet_beginchar ("Crossed notehead", "s2cross");
 
        draw_cross (1.0);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("Crossed notehead", "s2cross");
-               wid# := black_notehead_width#;
-               hei# := noteheight#;
-               set_char_box (0, wid#, hei# / 2, hei# / 2);
-
-               currentpicture := remember_pic;
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 fet_beginchar ("X-Circled notehead", "s2xcircle");
        save wid, hei;
        save cthick, cxd, cyd, dy;
@@ -960,29 +795,10 @@ fet_beginchar ("X-Circled notehead", "s2xcircle");
        z12 = (charwx * hppp, charwy * vppp);
        labels (12);
 
-       remember_pic := currentpicture;
-
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-if test > 0:
-       fet_beginchar ("X-Circled notehead", "s2xcircle");
-               save wid, hei;
-               save cthick, cxr, cyr;
-
-               wid# := black_notehead_width# * sqrt (sqrt2);
-               hei# := noteheight# * sqrt (sqrt2);
-
-               set_char_box (0, wid#, hei# / 2, hei# / 2);
-
-               currentpicture := remember_pic;
-
-               draw_staff_if_debugging (-2, 2, 0.5);
-       fet_endchar;
-fi;
-
-
 %%%%%%%%
 %
 % SOLFA SHAPED NOTES
@@ -1634,7 +1450,7 @@ def draw_sol_head (expr filled) =
        if not filled:
          undraw_inside_ellipse (3.25, 33, 0.81, 2.5 stafflinethickness#);
        fi
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 enddef;
 
 fet_beginchar ("Whole solhead", "s0sol");
@@ -2253,7 +2069,7 @@ begingroup
        if not filled:
          undraw_inside_ellipse (1.9, 33, 0.74, 5.5 stafflinethickness#);
        fi
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 endgroup
 enddef;
 
index b02844a196b9c693c85b97425e51c003afc5d77d..bfbd735129968171f54e463c366a6d76d33a5c10 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 11.22;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index e010769f4b20fcca22ef64e2afaa16e0884ec108..a78ab0e95926e6d58977190f589b92dcae870eef 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 12.60;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index 7d25cb2a60b665ca2d58287f564fb50a0dd73ef9..75fccc1a2da6a878b54d11ca6dbb28885031ae78 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 14.14;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index 755f9ffdd518572b192b552709bd791a9b13562f..49c48f1e2ced8d994bc66b5bc29fdb467cafd1ca 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 15.87;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index bdc6918bf36698f35e7229ccc041bc1f31835fcd..6cfcb6d630a444cc612ea784a190feab28381b59 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 17.82;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index 072f99207c29d907fd46b310ebea366424315073..4a5843cfd914e094877c11d2578ca17fd8f90097 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 20;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index ab0154832eda9bd55404c9e84143040d78659507..c197af7d0c85d80f0020b0dca41c5db540f31f8f 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 22.45;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index b25d21495c0a8416db183db6324ea37822c6091f..333c4e3dd0f611e7dc0d3aced8f763592a421a18 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 25.20;
-test := 0;
-
-
 input feta-noteheads-generic;
 
 end.
index a780ee9c301e4c1ffb27bf94fcad0640337ada2c..ad2561a596f498e2b779a58cf1dddaace1372867 100644 (file)
@@ -31,15 +31,10 @@ fet_beginchar ("Right Parenthesis", "rightparen");
        draw_paren;
        penlabels (1, 2, 3);
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Left Parenthesis", "leftparen");
        draw_paren;
 
index 1ba2807befddcf9326cc193fee528d0c0da85ba9..9147b7fa955d6106fc18be9fa518c711f1738bdf 100644 (file)
@@ -43,7 +43,7 @@ fet_beginchar ("whole rest", "0");
        currentpicture := currentpicture
                            shifted (0, -block_rest_y + feta_space_shift);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -52,7 +52,7 @@ fet_beginchar ("half rest", "1");
 
        block_rest;
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -72,8 +72,6 @@ fet_beginchar ("whole rest (outside staff)", "0o");
        lft x5 = -b - block_rest_y;
        rt x6 = w + block_rest_y;
        draw_gridline (z5, z6, ledgerlinethickness_rounded);
-
-       draw_staff_if_debugging (-2, 2, -3);
 fet_endchar;
 
 
@@ -90,8 +88,6 @@ fet_beginchar ("half rest (outside staff)", "1o");
        rt x6 = w + block_rest_y;
 
        draw_gridline (z5, z6, ledgerlinethickness_rounded);
-
-       draw_staff_if_debugging (-2, 2, 3);
 fet_endchar;
 
 
@@ -103,7 +99,7 @@ fet_beginchar ("maxima rest", "M3");
 
        addto currentpicture also currentpicture shifted (2 breve_rest_x, 0);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -113,7 +109,7 @@ fet_beginchar ("longa rest", "M2");
        draw_block ((0, -breve_rest_y + feta_shift),
                    (breve_rest_x, breve_rest_y));
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -122,7 +118,7 @@ fet_beginchar ("breve rest", "M1");
 
        draw_block ((0, 0), (breve_rest_x, breve_rest_y));
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 fet_beginchar ("breve rest (outside staff)", "M1o");
@@ -139,8 +135,6 @@ fet_beginchar ("breve rest (outside staff)", "M1o");
 
        draw_gridline (z5, z6, ledgerlinethickness_rounded);
        draw_gridline ((x5, 0), (x6, 0), ledgerlinethickness_rounded);
-
-       draw_staff_if_debugging (-2, 2, 3);
 fet_endchar;
 
 
@@ -226,7 +220,7 @@ fet_beginchar ("Quarter rest", "2");
        penlabels (1, 2, 3, 4, 5, 6, 7);
        penlabels (10, 11, 12, 13);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -374,7 +368,7 @@ def draw_eighth_rest (expr show_labels) =
             -- z1l
             .. cycle;
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 enddef;
 
 
@@ -440,7 +434,7 @@ fet_beginchar ("16th rest", "4");
        penlabels (1, 2);
        labels (9);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -494,7 +488,7 @@ fet_beginchar ("32th rest", "5");
        penlabels (1, 2);
        labels (9);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -552,7 +546,7 @@ fet_beginchar ("64th rest", "6");
        penlabels (1, 2);
        labels (9);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
@@ -614,7 +608,7 @@ fet_beginchar ("128th rest", "7");
        penlabels (1, 2);
        labels (9);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
index 52a07209f1f009489596b14bead08f1df768dd42..0baef99bb455bfb3d3389d9318ae895ee533cb13 100644 (file)
@@ -1277,7 +1277,6 @@ fet_beginchar ("Varied Segno", "varsegno");
        addto currentpicture also currentpicture scaled -1;
 
        penlabels (1, 1', 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
-       % draw_staff_if_debugging (-2, 2, 0);
 fet_endchar;
 
 
@@ -1495,7 +1494,7 @@ fet_beginchar ("Arpeggio", "arpeggio");
        draw_arpeggio;
        penlabels (range 1 thru 9);
 
-       draw_staff_if_debugging (-2, 2, 0.0);
+       draw_staff_if_debugging (-2, 2);
        endgroup;
 fet_endchar;
 
index d2ecd2d277205b4ffcd450ea02ac918f2b762ce4..46937f9e4d47c44461791a3e34bdd38913fc4bfc 100644 (file)
@@ -114,9 +114,7 @@ def draw_sharp(expr arrowup, arrowdown) =
                            stafflinethickness / 2 + stemwidth / 2, true);
        fi;
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 enddef;
 
 
@@ -125,33 +123,21 @@ fet_beginchar ("Sharp", "sharp");
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Sharp (arrow up)", "sharp.arrowup");
        draw_sharp (true, false);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Sharp (arrow down)", "sharp.arrowdown");
        draw_sharp (false, true);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Arrowed Sharp (arrows up and down)", "sharp.arrowboth");
        draw_sharp (true, true);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("1/2 Sharp", "sharp.slashslash.stem");
        save stem, stemwidth;
        save outer_space, interbeam;
@@ -183,15 +169,10 @@ fet_beginchar ("1/2 Sharp", "sharp.slashslash.stem");
 
        draw_gridline (z5, z6, stemwidth);
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Sharp (3 beams)", "sharp.slashslashslash.stemstem");
        save stem, stemx, stemwidth;
        save outer_space, interbeam;
@@ -233,15 +214,10 @@ fet_beginchar ("Sharp (3 beams)", "sharp.slashslashslash.stemstem");
        draw_gridline (z5, z6, stemwidth);
        draw_gridline (z7, z8, stemwidth);
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("1/2 Sharp (3 beams)", "sharp.slashslashslash.stem");
        save stem, stemx, stemwidth;
        save outer_space, interbeam;
@@ -277,15 +253,10 @@ fet_beginchar ("1/2 Sharp (3 beams)", "sharp.slashslashslash.stem");
 
        draw_gridline (z5, z6, stemwidth);
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("3/4 Sharp", "sharp.slashslash.stemstemstem");
        save stem, stemx, stemwidth;
        save outer_space, interbeam;
@@ -326,15 +297,10 @@ fet_beginchar ("3/4 Sharp", "sharp.slashslash.stemstemstem");
        draw_gridline (z7, z8, stemwidth);
        draw_gridline (z9, z10, stemwidth);
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
 
 
-draw_shifted_too;
-
-
 fet_beginchar ("Double Sharp", "doublesharp");
        save klaverblad, klaversteel;
        save pat;
@@ -383,10 +349,5 @@ fet_beginchar ("Double Sharp", "doublesharp");
        % ugh
        currentpicture := currentpicture shifted (hround (w / 2), 0);
 
-       remember_pic := currentpicture;
-
-        draw_staff_if_debugging (-2, 2, 0);
+        draw_staff_if_debugging (-2, 2);
 fet_endchar;
-
-
-draw_shifted_too;
index 81daa8f428cbe9343b84b654c30109dbd9cb89e3..8a50fc512a21fd57070882e68af943bc5098e99b 100644 (file)
@@ -90,7 +90,7 @@ def draw_C =
 
        penlabels (1, 2, 3, 4, 5);
 
-       draw_staff_if_debugging (-2, 2, 0);
+       draw_staff_if_debugging (-2, 2);
 enddef;
 
 
index be6a6a7e10d7cdcb30f48c40d88a3ad6eb7a5708..6eca785eddbbdbc372128fbea0a1692402242b0e 100644 (file)
@@ -4,8 +4,6 @@
 input feta-autometric;
 
 design_size := 11.22;
-test := 0;
-
 
 input feta-generic;
 
index 5014c123424530ba2e40111e17db5eaf870cce83..2fbe96b467fb4c490145b99b2c8a4f0d283b8e0a 100644 (file)
@@ -4,8 +4,6 @@
 input feta-autometric;
 
 design_size := 12.60;
-test := 0;
-
 
 input feta-generic;
 
index 23ac8e4d153928e19273183b40c796f924e95c19..738606985e8484a04c62ba6053f62e71315a17e9 100644 (file)
@@ -4,8 +4,6 @@
 input feta-autometric;
 
 design_size := 14.14;
-test := 0;
-
 
 input feta-generic;
 
index 174460b715fe32026216309c0203b00dbd6acfda..6b0619345728b773e6975150e8f9d275fd3873d5 100644 (file)
@@ -4,8 +4,6 @@
 input feta-autometric;
 
 design_size := 15.87;
-test := 0;
-
 
 input feta-generic;
 
index b52f6a3e35ca72d75e2b1efc983c7071978b9f22..6b6dd49524e0639c5ca25b58355f2a98dbc3911a 100644 (file)
@@ -5,8 +5,6 @@ input feta-autometric;
 
 % todo change file name
 design_size := 17.82;
-test := 0;
-
 
 input feta-generic;
 
index 2b561b200d9fee70370387096dffc32193e4585f..46c923fa564319f9b3474f1f61f2dd99eb3a8d8b 100644 (file)
@@ -7,7 +7,6 @@ input feta-autometric;
 
 
 % use feta-test for debugging.
-test := 0;
 input feta-generic;
 
 
index d2cf0025e94e18a8c541e8a6dbbaa03b3383954a..93b867976110d3d8e3c7926fbe81fa2f719bb359 100644 (file)
@@ -5,8 +5,6 @@ input feta-autometric;
 
 % todo change file name
 design_size := 22.45;
-test := 0;
-
 
 input feta-generic;
 
index 2bfa536618942eccc90fbf818b9f541c7821270c..2877d7431d569a77ed127701edaffaf43b65c1f3 100644 (file)
@@ -4,8 +4,6 @@
 input feta-autometric;
 
 design_size := 25.20;
-test := 0;
-
 
 input feta-generic;
 
index fd2f4d7cbd060e13df34ea2ee03a8307d26e46d0..4221f02a38539d607b4097eed45e4ac8ab3475be 100644 (file)
@@ -125,9 +125,7 @@ enddef;
 
 
 fet_beginchar ("Ed. Vat. do clef", "vaticana.do");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_vaticana_do_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -194,9 +192,7 @@ enddef;
 
 
 fet_beginchar ("Ed. Vat. fa clef", "vaticana.fa");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_vaticana_fa_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -282,9 +278,7 @@ enddef;
 
 
 fet_beginchar ("Ed. Med. do clef", "medicaea.do");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_medicaea_do_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -352,9 +346,7 @@ enddef;
 
 
 fet_beginchar ("Ed. Med. fa clef", "medicaea.fa");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_medicaea_fa_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -589,9 +581,7 @@ enddef;
 
 
 fet_beginchar ("neo-mensural c clef", "neomensural.c");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_neomensural_c_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -696,9 +686,7 @@ enddef;
 
 
 fet_beginchar ("petrucci c1 clef", "petrucci.c1");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_c_clef ((0, 0), +2, 1.0);
 fet_endchar;
 
@@ -709,9 +697,7 @@ fet_endchar;
 
 
 fet_beginchar ("petrucci c2 clef", "petrucci.c2");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_c_clef ((0, 0), +1, 1.0);
 fet_endchar;
 
@@ -722,9 +708,7 @@ fet_endchar;
 
 
 fet_beginchar ("petrucci c3 clef", "petrucci.c3");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_c_clef ((0, 0), 0, 1.0);
 fet_endchar;
 
@@ -735,9 +719,7 @@ fet_endchar;
 
 
 fet_beginchar ("petrucci c4 clef", "petrucci.c4");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_c_clef ((0, 0), -1, 1.0);
 fet_endchar;
 
@@ -748,9 +730,7 @@ fet_endchar;
 
 
 fet_beginchar ("petrucci c5 clef", "petrucci.c5");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_c_clef ((0, 0), -2, 1.0);
 fet_endchar;
 
@@ -840,9 +820,7 @@ enddef;
 
 
 fet_beginchar ("mensural c clef", "mensural.c");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_mensural_c_clef ((0, 0), 1.0, true);
 fet_endchar;
 
@@ -853,9 +831,7 @@ fet_endchar;
 
 
 fet_beginchar ("black mensural c clef", "blackmensural.c");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_mensural_c_clef ((0, 0), 1.0, false);
 fet_endchar;
 
@@ -1034,9 +1010,7 @@ enddef;
 
 
 fet_beginchar ("petrucci f clef", "petrucci.f");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_f_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -1142,9 +1116,7 @@ enddef;
 
 
 fet_beginchar ("mensural f clef", "mensural.f");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_mensural_f_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -1374,9 +1346,7 @@ enddef;
 
 
 fet_beginchar ("petrucci g clef", "petrucci.g");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_g_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -1408,9 +1378,7 @@ enddef;
 % until the code for the mensural g clef will be rewritten.
 %
 fet_beginchar ("mensural g clef", "mensural.g");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_petrucci_g_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -1499,9 +1467,7 @@ enddef;
 
 
 fet_beginchar ("Hufnagel do clef", "hufnagel.do");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_hufnagel_do_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -1595,9 +1561,7 @@ enddef;
 
 
 fet_beginchar ("Hufnagel fa clef", "hufnagel.fa");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_hufnagel_fa_clef ((0, 0), 1.0);
 fet_endchar;
 
@@ -1619,9 +1583,7 @@ enddef;
 
 
 fet_beginchar ("Hufnagel do/fa clef", "hufnagel.do.fa");
-       if test = 1:
-               draw_staff_if_debugging (-1, 3, 0.0);
-       fi;
+       draw_staff_if_debugging (-1, 3);
        draw_hufnagel_do_fa_clef ((0, 0), 1.0);
 fet_endchar;
 
index 31b35ff25ba4db2a4fcdc263a9e0c9b13b843683..c3e6f85911633f7fab98be99c0ce5e840238bd0a 100644 (file)
 % along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
 
-if test = -1:
-       mode := smoke;
-fi;
-
 mode_setup;
 
 staffsize# := design_size * pt#;
index a4103791ff8302c808f4c2529def1013b2fd3f09..c2c141b40ad2d11db103959510665fac4f23c788 100644 (file)
 % along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
 
 
-if test = -1:
-       mode := smoke;
-fi
-
 staffsize# := design_size * pt#;
 
 mode_setup;
index 288695a45e13781c40dd05d82eb12e3e0c3f13cc..a3006cdcb79505da387c3cfcc3435e1571bd5e2e 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 11.22;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index ad126423aabadee00e23debfa76c3e6db3b8588a..3b4961a249a6ef8f97b5264421209ec6c951356d 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 12.60;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index f5d3a41df72ae54bbbac00b4f1a4e6e46dad2956..46995884088e44eb18f53be7cf07b9b089b473f6 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 14.14;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index 3db517fa0455dd1a4ec585b1a932f06aa74eeaee..a398167939579cdb4d2c6750ebd31a8866d30c49 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 15.87;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index ed0f99ec0e6f5f6990c0aba8519920aab434047a..3e59cd4f8db908f037530d85dba8cd8386556713 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 17.82;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index 8891652bb81d14fdb76057a0423445f1d290c980..6dbe9650e9bbfd8c7f975264a9ddca323425a678 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 20;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index fe64e6f496eda98b5dcc67b49145e824096efbde..46c58073c7d2076af0f99d2bdaef7b180622283a 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 22.45;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index 082ffc208d219a5bb3186660889c89552f552be4..01618bfc99f44200db28703a09ee1cdf47eb0f0c 100644 (file)
@@ -4,9 +4,6 @@
 input feta-autometric;
 
 design_size := 25.20;
-test := 0;
-
-
 input parmesan-noteheads-generic;
 
 end.
index 27ba341437d1952a24bf2aea32069ec0f87d6d04..c0f37e194512dfbb541671c6b59afeed21ef6865 100644 (file)
@@ -5,8 +5,6 @@ design_size := 11.22;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;
 
 end.
index 905da48d5d8d73021461d78a0ed9771ef082779f..5ca92f334a9fc1948a1b45de22be739b490ae7d3 100644 (file)
@@ -5,8 +5,6 @@ design_size := 12.60;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;
 
 
index 6357337be224aaeafdad1922ea373b3f45394b8b..22e3c276619d7cc466f5f56836ca6242141ab61c 100644 (file)
@@ -5,8 +5,6 @@ design_size := 14.14;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;
 
 
index 19b0516779b768ddf31468905f616d469fefbc84..75573a6707a6b8fa2c7bbf6dc400d0625f3949b0 100644 (file)
@@ -5,8 +5,6 @@ design_size := 15.87;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;
 
 
index 8c28507046feacaf34f3f5ea6270a81113275590..76a6718d50d03fb435f4e02a65dc7a8e4a919472 100644 (file)
@@ -5,8 +5,6 @@ design_size := 17.82;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;
 
 
index d14251edcedf0a0bfdc039b8ffb3bde45c0ffe90..d7229287466e519ff873d27e1976f6a0cdb44ebb 100644 (file)
@@ -5,8 +5,6 @@ design_size := 20;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;
 
 
index 39b643732ba8de336441350d1c1331486db98988..ac0b0179513af62f59962905f21dad60bb1124fc 100644 (file)
@@ -5,8 +5,6 @@ design_size := 22.45;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;
 
 
index 1be6fb51914144b15f02dc793f3874cb395329d5..c2cf1946be03e4272e2f5e3963f8d97adef448e2 100644 (file)
@@ -5,8 +5,6 @@ design_size := 25.20;
 
 input feta-autometric;
 
-test := 0;
-
 input parmesan-generic;