]> git.donarmstrong.com Git - lilypond.git/commitdiff
* mf/feta-macros.mf: whoops: only draw lines for test situations.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 19 Jul 2003 15:31:11 +0000 (15:31 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 19 Jul 2003 15:31:11 +0000 (15:31 +0000)
* mf/feta-toevallig.mf: lowres fixes.

ChangeLog
mf/feta-macros.mf
mf/feta-toevallig.mf

index 878dfb6bdbe137f87496582494bac71fb443d4d4..0b53e6a739c4661c53fb7b98a5efd037af04c9dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index 4b2517dbe3217e4e5cbe1d4afbfd1dea4fbf62d5..a224abb331ae2d3f6f889d024092a20286e36e2a 100644 (file)
@@ -18,11 +18,14 @@ enddef;
 
 
 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;
 
 
 %
index 117d6330c56b016c9b63edfc8d47ef2c6bde819e..d94a8fcc09b5a589c1ca1b8c5e1e23cedefe2b3a 100644 (file)
@@ -108,8 +108,10 @@ fet_beginchar( "Natural", "0", "natural")
        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;
@@ -192,12 +194,10 @@ def draw_meta_flat(expr xcenter, w, crook_fatness) =
        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;