+2003-07-19 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * mf/feta-macros.mf: whoops: only draw lines for test situations.
+
+ * mf/feta-toevallig.mf: lowres fixes.
+
2003-07-19 Jan Nieuwenhuizen <janneke@gnu.org>
* NEWS: Typo and fill-paragraph fixes.
def draw_staff(expr first, last, offset)=
+if test <> 0:
pickup pencircle scaled stafflinethickness;
for i:= first step 1 until last:
draw (- staff_space, (i + offset) * staff_space) .. (4 staff_space,( i+ offset)* staff_space);
endfor
- enddef;
+fi;
+
+enddef;
%
define_pixels(height);
define_blacker_pixels(beamheight);
- % perhaps we should have a lowres fix?
- top_stem_thick = 1.9 stafflinethickness;
+ % The +0.4 is a lowres fix to ensure that
+ % the brush doesn't turn into a knob on 600dpi or lower.
+ top_stem_thick = round (1.9 stafflinethickness) + 0.4;
+
interstem + stemwidth = w;
stemwidth = 1.3 stafflinethickness;
crook_thinness = 1.3 stafflinethickness;
top_crook_thinness = 1.65 stafflinethickness;
- % actually, this used to be 2.2 stafflinethickness,
- % that looks very awful in 600dpi.
- % TODO: a better (resolution indepedendent) fix
-
- top_stem_thick# = 2.3 stafflinethickness#;
- define_blacker_pixels (top_stem_thick);
+ % this is a somewhat heuristic. We should probably make it
+ % straight for low resolution (300 dpi and less).
+ top_stem_thick = round (2.2 stafflinethickness) + 0.74;
+
bottom_overshoot = stafflinethickness;
bottom_stem_thick = 1.2 stafflinethickness;