]> git.donarmstrong.com Git - lilypond.git/blobdiff - mf/feta-params.mf
* make/lilypond-vars.make: centralize LILYPOND_BOOK_FLAGS setting.
[lilypond.git] / mf / feta-params.mf
index 402951757923f0df018b4cc0992e5e47f0acf795..af82b3cc0182e8c11943293d8f4539c6e6d039a0 100644 (file)
@@ -1,31 +1,42 @@
 
 stafflines = 5;
-% [reuter] URG!  This is not always true.  One of the effects of
-% keeping this a constant is that, for notation with less stafflines,
-% stafflinethickness gets too small.
-
-staff_space#:=staffsize#/(stafflines-1);
 
+%
+% The design size of a staff should really be the 
+% staff_space, but we use staffsize for historical reasons.
+% 
+staff_space# = staffsize#/(stafflines-1);
 
 
 % measuring on pocket scores turns out: stafflinethickness is
-% independent on staff size, and generally 0.5 pt.
-stafflinethickness#  :=0.5 pt#; 
+% largely independent on staff size, and generally about 0.5 pt.
+%
+% by request of WL, we tune down the blackness a little
+% for increased contrast with beams.
 
-stemthickness# := 1.3 stafflinethickness#;
-ledgerlinethickness# := 2 stafflinethickness#;
+%% !! synchronize with paper.scm
+stafflinethickness#  = 0.3 pt# + 0.04 staff_space#; 
 
-define_pixels(staff_space, stemthickness);
-define_pixels(stafflinethickness,ledgerlinethickness);
+%
+% The following tunes the general blackness of the glyphs. 
+%
+linethickness# = stafflinethickness#; %%   0.5 pt#;
 
 %
-% Hand-engraved music often has balls extending above and below
-% the lines.  If you like that, modify overdone heads (unit:
-% stafflinethickness)
+% bigger puff_up_factor, relatively thicker stafflines.
+% 20 pt = puff_up_factor 0.
+% 10 pt = puff_up_factor 1
 %
+puff_up_factor =  (linethickness# - 0.1 staff_space#) / (0.1 staff_space#);
+
+
+
+stemthickness# := 1.3 stafflinethickness#;
+ledgerlinethickness# := 2 stafflinethickness#;
+
+define_pixels(staff_space, stemthickness);
+define_pixels(stafflinethickness, ledgerlinethickness, linethickness);
 
-numeric overdone_heads;
-overdone_heads = 0.0;
 
 % 
 % Because of the engraving/stamping process, no traditional
@@ -47,3 +58,5 @@ fi
 define_pixels(blot_diameter);
 
 
+
+