From 79c2154134728772f68cce9f1258ddfd20990271 Mon Sep 17 00:00:00 2001 From: Janek Warchol Date: Sat, 17 Sep 2011 22:57:25 +0200 Subject: [PATCH] Revert "variable fix" This reverts commit 67e06fc960b674bff40bffa0e7770f5e833e7285. --- mf/feta-noteheads.mf | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mf/feta-noteheads.mf b/mf/feta-noteheads.mf index 60c51783da..8fee280831 100644 --- a/mf/feta-noteheads.mf +++ b/mf/feta-noteheads.mf @@ -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); -- 2.39.5