5 % The design size of a staff should really be the
6 % staff_space, but we use staffsize for historical reasons.
8 staff_space# = staffsize#/(stafflines-1);
11 % measuring on pocket scores turns out: stafflinethickness is
12 % largely independent on staff size, and generally about 0.5 pt.
14 % by request of WL, we tune down the blackness a little
15 % for increased contrast with beams.
17 %% !! synchronize with paper.scm
18 stafflinethickness# = 0.3 pt# + 0.04 staff_space#;
21 % The following tunes the general blackness of the glyphs.
23 linethickness# = stafflinethickness#; %% 0.5 pt#;
26 % bigger puff_up_factor, relatively thicker stafflines.
27 % 20 pt = puff_up_factor 0.
28 % 10 pt = puff_up_factor 1
30 puff_up_factor = (linethickness# - 0.1 staff_space#) / (0.1 staff_space#);
34 stemthickness# := 1.3 stafflinethickness#;
35 ledgerlinethickness# := 2 stafflinethickness#;
37 define_pixels(staff_space, stemthickness);
38 define_pixels(stafflinethickness, ledgerlinethickness, linethickness);
42 % Because of the engraving/stamping process, no traditional
43 % characters have sharp edges and corners
44 % The following variable controls the amount of "roundness"
46 % this is not a meta variable: it is related to absolute sizes.
48 % FIXME: According to [Wanske], only outside corners should be round
49 % I don't think we do this anywhere -- jcn
50 numeric blot_diameter;
51 blot_diameter# = .35 pt#;
52 if (blot_diameter# * hppp) < 1:
53 blot_diameter# := 1/hppp;
55 if (blot_diameter# * vppp) < 1:
56 blot_diameter# := 1/vppp;
58 define_pixels(blot_diameter);