]> git.donarmstrong.com Git - lilypond.git/blob - mf/dyn10.mf
7e2d853f74bdd8d15eb9e8bc04913b84b65f1e92
[lilypond.git] / mf / dyn10.mf
1 % dyn10.mf
2 % from cmbxti10.mf
3
4 % Computer Modern Bold Extended Text Italic 10 point
5 % if unknown cmbase: input cmbase fi
6
7 % font_identifier:="CMBXTI"; font_size 10pt#;
8
9 input cmbase;
10 font_identifier:="DYN"; font_size 10pt#;
11
12 u#:=21.2/36pt#;      % unit width
13 width_adj#:=11/36pt#;    % width adjustment for certain characters
14 serif_fit#:=0pt#;    % extra sidebar near lowercase serifs
15 cap_serif_fit#:=7/36pt#;  % extra sidebar near uppercase serifs
16 letter_fit#:=11/36pt#;    % extra space added to all sidebars
17
18 body_height#:=270/36pt#;  % height of tallest characters
19 asc_height#:=250/36pt#;    % height of lowercase ascenders
20 cap_height#:=247/36pt#;    % height of caps
21 fig_height#:=232/36pt#;    % height of numerals
22 x_height#:=160/36pt#;    % height of lowercase without ascenders
23 math_axis#:=90/36pt#;    % axis of symmetry for math symbols
24 bar_height#:=85/36pt#;    % height of crossbar in lowercase e
25 comma_depth#:=70/36pt#;    % depth of comma below baseline
26 desc_depth#:=70/36pt#;    % depth of lowercase descenders
27
28 crisp#:=13/36pt#;    % diameter of serif corners
29 tiny#:=13/36pt#;    % diameter of rounded corners
30 fine#:=10/36pt#;    % diameter of sharply rounded corners
31 thin_join#:=10/36pt#;    % width of extrafine details
32 hair#:=20/36pt#;    % lowercase hairline breadth
33 stem#:=38/36pt#;    % lowercase stem breadth
34 curve#:=43/36pt#;    % lowercase curve breadth
35 ess#:=35/36pt#;      % breadth in middle of lowercase s
36 flare#:=42/36pt#;    % diameter of bulbs or breadth of terminals
37 dot_size#:=53/36pt#;    % diameter of dots
38 cap_hair#:=22/36pt#;    % uppercase hairline breadth
39 cap_stem#:=49/36pt#;    % uppercase stem breadth
40 cap_curve#:=52/36pt#;    % uppercase curve breadth
41 cap_ess#:=50/36pt#;    % breadth in middle of uppercase s
42 rule_thickness#:=.6pt#;    % thickness of lines in math symbols
43
44 dish#:=1/36pt#;      % amount erased at top or bottom of serifs
45 bracket#:=10/36pt#;    % vertical distance from serif base to tangent
46 jut#:=27/36pt#;      % protrusion of lowercase serifs
47 cap_jut#:=39/36pt#;    % protrusion of uppercase serifs
48 beak_jut#:=10/36pt#;    % horizontal protrusion of beak serifs
49 beak#:=70/36pt#;    % vertical protrusion of beak serifs
50 vair#:=13/36pt#;    % vertical diameter of hairlines
51 notch_cut#:=10pt#;    % maximum breadth above or below notches
52 bar#:=17/36pt#;      % lowercase bar thickness
53 slab#:=17/36pt#;    % serif and arm thickness
54 cap_bar#:=17/36pt#;    % uppercase bar thickness
55 cap_band#:=17/36pt#;    % uppercase thickness above/below lobes
56 cap_notch_cut#:=10pt#;    % max breadth above/below uppercase notches
57 serif_drop#:=3/36pt#;    % vertical drop of sloped serifs
58 stem_corr#:=2/36pt#;    % for small refinements of stem breadth
59 vair_corr#:=1.5/36pt#;    % for small refinements of hairline height
60 apex_corr#:=0pt#;    % extra width at diagonal junctions
61
62 o#:=6/36pt#;      % amount of overshoot for curves
63 apex_o#:=6/36pt#;    % amount of overshoot for diagonal junctions
64
65 slant:=.25;      % tilt ratio $(\Delta x/\Delta y)$
66 fudge:=1;      % factor applied to weights of heavy characters
67 math_spread:=.5;    % extra openness of math symbols
68 superness:=8/11;    % parameter for superellipses
69 superpull:=1/8;      % extra openness inside bowls
70 beak_darkness:=.4;    % fraction of triangle inside beak serifs
71 ligs:=2;      % level of ligatures to be included
72
73 square_dots:=false;    % should dots be square?
74 hefty:=false;      % should we try hard not to be overweight?
75 serifs:=true;      % should serifs and bulbs be attached?
76 monospace:=false;    % should all characters have the same width?
77 variant_g:=true;    % should an italic-style g be used?
78 low_asterisk:=false;    % should the asterisk be centered at the axis?
79 math_fitting:=false;    % should math-mode spacing be used?
80
81 % generate textit      % switch to the driver file
82
83 % mode_setup; font_setup;
84
85 % "f" obviously has a _lot_ bigger slant than "p" (see wanske p239)
86 % however; perhaps we need two f symbols:
87 %  - a super-slanted one used in "f" "mf" "sfz" "sf", and
88 %  - a more normal-slanted in "ff" "fff" "fp" "fp" (see wanske p241)
89 %
90 % looking at professionally typeset music reveals that typesetters 
91 % are somewhat unsure about slanting in "mf", "fp", "sfz"
92
93 % "f" and "p" (in any combination) are a lot (factor two) fatter than
94 % "s", "m", and "z".  sometimes the "m" and "z" are a bit fatter than
95 % "s".
96
97 slant:=.68;      % tilt ratio $(\Delta x/\Delta y)$
98 crisp#:=19/36pt#;    % diameter of serif corners
99 tiny#:=19/36pt#;    % diameter of rounded corners
100 fine#:=20/36pt#;    % diameter of sharply rounded corners
101 thin_join#:=20/36pt#;    % width of extrafine details
102 stem#:=72/36pt#;    % lowercase stem breadth
103 %curve#:=64/36pt#;    % lowercase curve breadth
104 flare#:=52/36pt#;    % diameter of bulbs or breadth of terminals
105
106 %  mode_setup; font_setup;
107 mode_setup;
108 font_setup;
109
110 num=-1;
111 input ital-f;
112
113 slant:=.38;      % tilt ratio $(\Delta x/\Delta y)$
114 stem#:=58/36pt#;    % lowercase stem breadth
115 font_setup;
116
117 input ital-f;
118 stem#:=54/36pt#;    % lowercase stem breadth
119
120 % mode_setup; font_setup;
121 font_setup;
122
123 input ital-p;
124
125 slant:=.28;      % tilt ratio $(\Delta x/\Delta y)$
126 stem#:=30/36pt#;    % lowercase stem breadth
127 ess#:=28/36pt#;      % breadth in middle of lowercase s
128
129 crisp#:=13/36pt#;    % diameter of serif corners
130 tiny#:=13/36pt#;    % diameter of rounded corners
131 fine#:=10/36pt#;    % diameter of sharply rounded corners
132 thin_join#:=10/36pt#;    % width of extrafine details
133 hair#:=20/36pt#;    % lowercase hairline breadth
134 % stem#:=38/36pt#;    % lowercase stem breadth
135 curve#:=43/36pt#;    % lowercase curve breadth
136 flare#:=42/36pt#;    % diameter of bulbs or breadth of terminals
137 % ess#:=35/36pt#;      % breadth in middle of lowercase s
138
139 % mode_setup; font_setup;
140 font_setup;
141
142 input ital-m;
143 input ital-s;
144 input ital-z;
145
146 font_slant slant; font_x_height x_height#;
147 bye.