+2002-03-14 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * mf/feta-eindelijk.mf: new 8th rest.
+
+ * mf/feta-toevallig.mf: small fixes for the sharp symbol. Don't
+ stick out of staffline
+
+ * scripts/lilypond-book.py: fixes for texi regular expressions.
+
+2002-03-14 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * lily/include/new-beam.hh:
+ * lily/new-beam.cc: New file.
+
+ * flower/include/interval.hh:
+ * flower/include/interval.tcc (delta): New method.
+ (swap): Now public (previously private).
+
+ * scm/beam.scm (default-beam-y-quants): Bugfix: lower beam-sit by
+ 1 staff-line-thickness. Sadly, this makes dy quanting problems
+ (dy quants allowed should depend on actual left y) more visible.
+
+2002-03-13 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * lily/beam.cc (quantise_dy): Bugfix: sign (0) = 0. Hmm.
+
+ * scm/grob-property-description.scm (concaveness-threshold): Add
+ typecheck and description.
+
+ * scm/grob-description.scm (Beam): Remove obsolete properties, add
+ concaveness-threshold (previously concaveness).
+
+ * lily/beam.cc (check_concave): Remove choices and debugging
+ stuff: use best concaveness calculation.
+ (quantise_dy): Remove choice. Try to never make a slope steeper
+ by quantising, but certainly never quantise a slope away.
+ (check_stem_length_f): Remove choice. In case of lengthening
+ alowed, always lengthen to ideal length.
+
+ * Documentation/index.texi: Fix FAQ url.
+
+ * Documentation/topdocs/INSTALL.texi: Add information about fink,
+ compile fix and 1.4 specific fix that doesn't hurt 1.5.
+
2002-03-13 Han-Wen <hanwen@cs.uu.nl>
* VERSION: 1.5.39 released
enddef;
%
-% TODO: calc intersectpoint
+% TODO: calc intersectpoint (see TeX book, p. 137)
% TODO: calc incision_depth
%
+
def add_flag(expr yoff, flare, hip_wid_multiplier,
hip_dep_multiplier,
intersectpoint, hip_thickness, foot_thickness) =
hip_depth_ratio, foot_width_ratio, hip_thickness, foot_thickness);
pickup pencircle scaled stemthickness;
- draw (0, 0) .. (0,-2 staff_space);
+ draw (0, 0) .. (0,-1 staff_space);
fet_endchar;
fet_beginchar("16th Flag (up)", "u4", "sixteenthflag")
endgroup;
%%% Editable values:
-slope := 1.7; % slope of slash. From scm/grob-description.scm. How to auto-copy?
+
+slash_slope := 1.7; % slope of slash. From scm/grob-description.scm. How to auto-copy?
slt# := 2/3*0.48staff_space#; % thickness of lines. quarter notes get 1.5slt width.
slh# := 2staff_space#; % height of char.
%%% Calculated values:
sxa# := 0; % how much the char exceeds the boundingbox horizontally:
-slxt# := sqrt(slt#*slt#+(slt#/slope)*(slt#/slope)); % Width of hor. pen - with thanks to Pythagoras
-slw# := slh#/slope; % width of sloping part of slash:
+
+ % Width of hor. pen - with thanks to Pythagoras
+slxt# := sqrt(slt#*slt#+(slt#/slash_slope)*(slt#/slash_slope));
+slw# := slh#/slash_slope; % width of sloping part of slash:
define_pixels(slt,slh,sxa,slxt,slw);
+
+%
+%
+% UUGGGH! FIXME -- get rid of those sharp corners.
+%
+%
+%
+
+
def draw_slash(expr hwid_hash) =
wid# := slw#+2slxt#+hwid_hash;
set_char_box(0,wid#-2sxa#,slh#/2,slh#/2);
input feta-solfa;
else:
-% input feta-bolletjes;
-% input feta-banier;
-% input feta-eindelijk;
- input feta-klef;
+ input feta-bolletjes;
+ input feta-banier;
+ input feta-eindelijk;
+% input feta-klef;
input feta-toevallig;
% input feta-schrift;
% input feta-haak;
% input feta-timesig;
% input feta-pendaal;
% input feta-accordion;
- input feta-solfa;
+% input feta-solfa;
fi
+%
+% draw an axis aligned block making sure that edges are on pixels.
+%
+
def draw_rounded_block (expr bottom_left, top_right, roundness) =
save round;
round = floor min(roundness,xpart (top_right-bottom_left),
1.5 staff_space#);
save interbeam, interstem, beamheight, beamwidth,
- stemwidth;
+ stemwidth, beamslope;
interbeam := 1.05 staff_space;
interstem := 7/16 ;
beamheight := 4 stafflinethickness;
beamwidth := w;
- stemwidth := 1.3 stafflinethickness;
- roundness := 2blot_diameter;
+ stemwidth := 1.5 stafflinethickness;
+ roundness := 2 blot_diameter;
+
pair center;
center := (.5 w, 0);
pickup pencircle scaled stemwidth;
x3 = x4 = xpart center;
- bot y3 = -1.5 staff_space + ypart center;
- top y4 = 1.5 staff_space + ypart center;
numeric xs;
xs := interstem* beamwidth / 2;
+
+ (bot y3) + -xs * beamslope = -1.5 staff_space + ypart center;
+ top y4 + xs * beamslope = 1.5 staff_space + ypart center;
+
draw_gridline (z3-(xs,xs* beamslope),z4-(xs,xs*beamslope),stemwidth);
addto currentpicture also currentpicture rotated 180 shifted (w,0);
labels(1,2,3,4);
+
+
+% to check that it doesn't overshoot staffline.
+%
+% pickup pencircle scaled stafflinethickness;
+% draw (0, 1.5 staff_space ) .. (1 staff_space, 1.5 staff_space);
+
fet_endchar;
pickup penrazor scaled beamheight rotated 90;
top y2 = staff_space - 3/2 stafflinethickness ;
- slope = stafflinethickness / interstem;
+ slope = stafflinethickness / interstem;
draw z1 .. z2;
draw (xpart z1, -y2) .. (xpart z2, -y1);