]> git.donarmstrong.com Git - lilypond.git/blob - mf/feta-params.mf
*** empty log message ***
[lilypond.git] / mf / feta-params.mf
1
2 stafflines = 5;
3 % [reuter] URG!  This is not always true.  One of the effects of
4 % keeping this a constant is that, for notation with less stafflines,
5 % stafflinethickness gets too small.
6
7 staff_space#:=staffsize#/(stafflines-1);
8
9
10 % URG!
11 %font_x_height  staff_space# ;
12
13 %
14 % [D.K.Roush & J.S.Gourlay] say this should be 0.072
15 % We know better
16 % FIXME: generally, the "blackness" of most chars depends on this.
17 %        these dimensions should be independent.
18 stafflinethickness#:=0.1 staff_space#;
19
20 stemthickness# := 1.3 stafflinethickness#;
21 ledgerlinethickness# := 2 stafflinethickness#;
22
23 define_pixels(staff_space, stemthickness);
24 define_pixels(stafflinethickness,ledgerlinethickness);
25
26 %
27 % Hand-engraved music often has balls extending above and below
28 % the lines.  If you like that, modify overdone heads (unit:
29 % stafflinethickness)
30 %
31
32 numeric overdone_heads;
33 overdone_heads = 0.0;
34
35
36 % Because of the engraving/stamping process, no traditional
37 % characters have sharp edges and corners
38 % The following variable controls the amount of "roundness"
39 %
40 % this is not a meta variable: it is related to absolute sizes.
41 %
42 % FIXME: According to [Wanske], only outside corners should be round
43 %        I don't think we do this anywhere -- jcn
44 numeric blot_diameter;
45 blot_diameter# = .35 pt#;
46 if (blot_diameter# * hppp) < 1:
47         blot_diameter# := 1/hppp;
48 fi
49 if (blot_diameter# * vppp) < 1:
50         blot_diameter# := 1/vppp;
51 fi
52 define_pixels(blot_diameter);