]> git.donarmstrong.com Git - lilypond.git/blobdiff - mf/feta-banier.mf
release: 1.5.32
[lilypond.git] / mf / feta-banier.mf
index 8f68b5f5cfc999f9766f2544f36a38c15e47509f..36a4dc000dee2750b592e186e6e8d82cbd2df84b 100644 (file)
@@ -17,11 +17,10 @@ right_downflag_space# = .2 downflag_width#;
 % Flags pointing down cannot overlap with the notehead in y-direction,
 % so they have less slant.
 
-%
 % Because of optical illusion, the utmost flag (bottom for
 % down-pointing, top for up-pointing) should be smaller than the other
-% flags.  Adobe Sonata doesn't do this correctly.  (Instead they have an 
-% extension flag. Yuck)
+% flags.  Adobe Sonata doesn't do this correctly.  (Instead they have
+% an extension flag, which looks less elegant)
 %
 
 save hip_thickness, foot_thickness;
@@ -230,6 +229,48 @@ fet_beginchar("64th Flag (up)", "u6", "sixtyfourthflag")
        draw (0, 0) .. (0,-2 staff_space);
 fet_endchar;
 
+fet_beginchar("8th (down)", "d3", "deighthflag")
+       save flare, 
+               hip_depth_ratio, hip_width,
+               foot_depth, foot_width_ratio;
+       save flagspace, total_depth, flag_count;
+       
+       flag_count = 1;
+       flare# = .99 staff_space#;
+       flagspace# = .9 staff_space#;   
+       hip_depth_ratio = .72 ;
+       hip_width# = downflag_width# - hip_thickness#/2;
+       total_depth# = 2.85 staff_space#;
+       (flag_count-1) * flagspace# + foot_depth# = total_depth#;
+
+       foot_width_ratio = .8;
+
+       set_char_box(stemthickness# /2, hip_width#
+               + stemthickness#/2 + right_downflag_space#,
+               total_depth# + foot_thickness#/2, stemthickness#/2)
+
+       define_pixels(flare, hip_width, hip_thickness,
+               flagspace,
+               foot_depth,  foot_thickness);
+
+       draw_flag((stemthickness/2,- (flag_count-1) *flagspace), flare, 
+               (hip_width, foot_depth), 
+               hip_depth_ratio,foot_width_ratio, hip_thickness, foot_thickness);
+
+       pickup pencircle scaled stemthickness;
+        draw (0, 0) .. (0,-2 staff_space);
+        y_mirror_char;
+fet_endchar;
+
+%%%%%%%%
+%
+%
+%
+% Single Stroke for Short Appogiatura
+%
+%
+%
+
 fet_beginchar("grace dash (up)", "ugrace", "gracedash")
        save flare, 
                hip_depth_ratio, hip_width,
@@ -253,10 +294,8 @@ fet_beginchar("grace dash (up)", "ugrace", "gracedash")
          (w, h);
 fet_endchar;
 
-fet_beginchar("8th (down)", "d3", "deighthflag")
-       save flare, 
-               hip_depth_ratio, hip_width,
-               foot_depth, foot_width_ratio;
+fet_beginchar("grace dash (down)", "dgrace", "dgracedash")
+       save flare, hip_depth_ratio, hip_width, foot_depth;
        save flagspace, total_depth, flag_count;
        
        flag_count = 1;
@@ -269,21 +308,15 @@ fet_beginchar("8th (down)", "d3", "deighthflag")
 
        foot_width_ratio = .8;
 
-       set_char_box(stemthickness# /2, hip_width#
-               + stemthickness#/2 + right_downflag_space#,
-               total_depth# + foot_thickness#/2, stemthickness#/2)
-
        define_pixels(flare, hip_width, hip_thickness,
-               flagspace,
-               foot_depth,  foot_thickness);
-
-       draw_flag((stemthickness/2,- (flag_count-1) *flagspace), flare, 
-               (hip_width, foot_depth), 
-               hip_depth_ratio,foot_width_ratio, hip_thickness, foot_thickness);
+               flagspace, foot_depth);
 
+       set_char_box(hip_width# * hip_depth_ratio,
+         hip_width# + stemthickness#/2 + right_downflag_space#,
+         foot_depth# * hip_depth_ratio, -flare#)
 
-       pickup pencircle scaled stemthickness;
-       draw (0, 0) .. (0,-2 staff_space);
+       pickup pencircle scaled 1.5 stemthickness;
+       draw (-b, -d) .. (w,h);
        y_mirror_char;
 fet_endchar;
 
@@ -405,45 +438,24 @@ fet_beginchar("64th (down)", "d6", "dsixtyfourthflag")
        y_mirror_char;
 fet_endchar;
 
-
-fet_beginchar("grace dash (down)", "dgrace", "dgracedash")
-       save flare, hip_depth_ratio, hip_width, foot_depth;
-       save flagspace, total_depth, flag_count;
-       
-       flag_count = 1;
-       flare# = .99 staff_space#;
-       flagspace# = .9 staff_space#;   
-       hip_depth_ratio = .72 ;
-       hip_width# = downflag_width# - hip_thickness#/2;
-       total_depth# = 2.85 staff_space#;
-       (flag_count-1) * flagspace# + foot_depth# = total_depth#;
-
-       foot_width_ratio = .8;
-
-       define_pixels(flare, hip_width, hip_thickness,
-               flagspace, foot_depth);
-
-       set_char_box(hip_width# * hip_depth_ratio,
-         hip_width# + stemthickness#/2 + right_downflag_space#,
-         foot_depth# * hip_depth_ratio, -flare#)
-
-       pickup pencircle scaled 1.5 stemthickness;
-       draw (-b, -d) .. (w,h);
-       y_mirror_char;
-fet_endchar;
-
 % ustem?
+%
+%
+% Stem characters so we can compose metronome markings with Feta
+% entirely.
+%
+
 fet_beginchar("stem (up)", "stem", "stem")
-       set_char_box(stemthickness#/2, 0, 3.5staff_space#, stemthickness#/2);
+       set_char_box(stemthickness#/2, stemthickness#/2, 0, 3.5staff_space#);
        pickup pencircle scaled stemthickness;
        draw (0, 0.2staff_space) .. (0, 3.5staff_space);
 fet_endchar;
 
 % do we want this?
 fet_beginchar("stem (down)", "dstem", "dstem")
-       set_char_box(stemthickness#/2, -3.5staff_space#, 0, stemthickness#/2);
+       set_char_box(stemthickness#/2, stemthickness#/2, 3.5staff_space#, 0);
        pickup pencircle scaled stemthickness;
-       draw (0, -0.2staff_space) .. (-3.5staff_space, 0);
+       draw (0, -0.2staff_space) .. (0, -3.5staff_space);
 fet_endchar;