]> git.donarmstrong.com Git - lilypond.git/commitdiff
including blot_diameter in calculating upstem flag lengths
authorJanek Warchoł <lemniskata.bernoulliego@gmail.com>
Fri, 18 Mar 2011 10:33:55 +0000 (11:33 +0100)
committerGraham Percival <graham@percival-music.ca>
Sat, 26 Mar 2011 15:24:45 +0000 (15:24 +0000)
Doing so is needed in case of 32nd flag,
because after changing 32nd stem length it touches staff line.
In case of 64th and 128th this isn't really needed,
but i added it for consistency's sake.

mf/feta-flags.mf

index 104bab3ae8d060bf58a0db5e39e83e94f14c0183..95cedb1a82dc8ed60c9d38b06c477bd802a4ff03 100644 (file)
@@ -201,7 +201,7 @@ fet_beginchar ("32nd Flag (up)", "u5");
        save flagspace, total_depth, flag_count;
 
        flag_count = 3;
-       total_depth# = 4.25 staff_space#;
+       total_depth# = 4.25 staff_space# - blot_diameter# / 2;
        flare = .85 staff_space;
        flagspace# = .87 staff_space#;
        hip_depth_ratio = .72;
@@ -236,7 +236,7 @@ fet_beginchar ("64th Flag (up)", "u6");
        save flagspace, total_depth, flag_count;
 
        flag_count = 4;
-       total_depth# = 5.25 staff_space#;
+       total_depth# = 5.25 staff_space# - blot_diameter# / 2;
        flare = .85 staff_space;
        flagspace# = .9 staff_space#;
        hip_depth_ratio = .72;
@@ -273,7 +273,7 @@ fet_beginchar ("128th Flag (up)", "u7");
        save flagspace, total_depth, flag_count;
 
        flag_count = 5;
-       total_depth# = 6.25 staff_space#;
+       total_depth# = 6.25 staff_space# - blot_diameter# / 2;
        flare = .85 staff_space;
        flagspace# = .93 staff_space#;
        hip_depth_ratio = .72;