%
% source file of LilyPond's pretty-but-neat music font
%
-% (c) 2001--2002 Juergen Reuter <reuter@ipd.uka.de>
+% (c) 2001--2004 Juergen Reuter <reuter@ipd.uka.de>
%
fet_begingroup ("flags")
%
def draw_mensural_outermost_flare (expr staffline_adjustment) =
- define_pixels(stafflinethickness, staff_space)
+ define_pixels(linethickness, staff_space)
pickup pencircle
- xscaled 1.00 stafflinethickness
+ xscaled 1.00 linethickness
yscaled 0.22 staff_space
rotated -35;
enddef;
def draw_mensural_inner_flare(expr il_shift) =
- define_pixels(stafflinethickness, staff_space)
+ define_pixels(linethickness, staff_space)
pickup pencircle
- xscaled 1.00 stafflinethickness
+ xscaled 1.00 linethickness
yscaled 0.22 staff_space
rotated -35;
fi;
char_box_adjust = flare_shift+0.5;
if direction = dir_up:
- set_char_box(0, 0.60 staff_space#,
- (1.00+char_box_adjust)*staff_space#, 0)
+ set_char_box(0,
+ 0.60 staff_space#,
+ (flares+char_box_adjust)*staff_space#,
+ 0.10 staff_space#)
else: % direction = dir_down
- set_char_box(0.60 staff_space#, 0,
- (1.00+char_box_adjust)*staff_space#, 0)
+ set_char_box(0.60 staff_space#,
+ 0,
+ 0.10 staff_space#,
+ (flares+char_box_adjust)*staff_space#)
fi;
draw_mensural_outermost_flare (staffline_adjustment)
for flare_count := 2 step 1 until 4: