[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fixing height of Kievan bar line (issue 5727051)
From: |
aleksandr . andreev |
Subject: |
Fixing height of Kievan bar line (issue 5727051) |
Date: |
Sat, 03 Mar 2012 20:32:37 +0000 |
Reviewers: ,
Message:
Changing the char_box of the Kievan bar line to eliminate the problem
with the bar line being cut off.
However, this brings back the problem of staff lines appearing under the
bar line.
Description:
Fixing height of Kievan bar line
Kievan bar line is cut off when running lilypond with -dpreview,
or using Kievan score as a snippet in lilypond-book
See issue: http://code.google.com/p/lilypond/issues/detail?id=2344
Please review this at http://codereview.appspot.com/5727051/
Affected files:
M mf/parmesan-scripts.mf
Index: mf/parmesan-scripts.mf
diff --git a/mf/parmesan-scripts.mf b/mf/parmesan-scripts.mf
index
284aa45f5c163b7bebcf22ee621c2adebbf7142c..0689c22613f9a9a2fd4eef53c2533ea43ebc1659
100644
--- a/mf/parmesan-scripts.mf
+++ b/mf/parmesan-scripts.mf
@@ -254,16 +254,16 @@ fet_beginchar ("Kievan end of piece
(slash)", "barline.kievan");
save hair_thickness, thick_thickness, width, depth, height, padding;
hair# = 1.9 linethickness#;
thick# = 6.0 linethickness#;
- width = .8 staff_space;
+ width# = 1.0 staff_space#;
height# + depth# = 4 staff_space#;
depth# = height# + hair# / 2;
- padding = .2 staff_space;
+ padding# = .2 staff_space#;
- set_char_box (0, 0, depth#, height#);
- define_pixels (hair, thick);
+ set_char_box (0, width# + 3 padding#, depth#, height# + staff_space#);
+ define_pixels (hair, thick, width, padding, depth, height);
- x1r - x2l = width;
- y1 - y3r = d + h + linethickness / 2;
+ x7r - x2l = width;
+ y1 - y3r = depth + height + linethickness / 2;
z3 = z2;
z4 = .5 [z1, z2]
= (width / 2 + padding, hair / 8);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fixing height of Kievan bar line (issue 5727051),
aleksandr . andreev <=