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