]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "variable fix"
authorJanek Warchol <lemniskata.bernoullego@gmail.com>
Sat, 17 Sep 2011 20:57:25 +0000 (22:57 +0200)
committerJanek Warchol <lemniskata.bernoullego@gmail.com>
Sat, 17 Sep 2011 20:57:25 +0000 (22:57 +0200)
This reverts commit 67e06fc960b674bff40bffa0e7770f5e833e7285.

mf/feta-noteheads.mf

index 60c51783daf269d51d3300140d0cfbbbf1ea8666..8fee28083196dc04663c78dd38afb1697742b8e0 100644 (file)
@@ -118,11 +118,9 @@ def draw_longa (expr up) =
                quanted_line_length := max (0.77, line_length);
        fi;
 
-       final_line_length := quanted_line_length * staff_space; 
-
        if up:
-               bot y1 = -final_line_length;
-               top y2 = final_line_length;
+               bot y1 = -quanted_line_length * staff_space;
+               top y2 = quanted_line_length * staff_space;
                rt x1 - fudge = 0;
                x1 = x2;
 
@@ -132,14 +130,14 @@ def draw_longa (expr up) =
                y3 = y1;
        else:
                bot y1 = -d - 3.0 staff_space;
-               top y2 = final_line_length;
+               top y2 = quanted_line_length * staff_space;
                rt x1 - fudge = 0;
                x1 = x2;
 
                fudge + lft x3 = width;
                x4 = x3;
                y4 = y2;
-               bot y3 = -final_line_length;
+               bot y3 = -quanted_line_length * staff_space;
        fi;
 
        draw_gridline (z1, z2, stemthick);