Debian Codegraph @

texmf-dist/fonts/source/public/eiad/eiadtcsc10.mf

raw
1 %% This file is public domain.
2 %% Originally written 1998, Ivan A Derzhanski.
3 %% Notice added by Clea F. Rees 2009/01/06.
4 %%
5 % Irish Typewriter Caps and Small Caps 10 point
6 if unknown cmbase: input cmbase fi
7
8 design_size := 10;
9 font_identifier:="EIADTCSC"; font_size design_size * pt#;
10
11 % first come parameters used to set the uppercase letters
12 % (including some for lowercase that aren't actually used)
13
14 input c-cmtt;
15
16 % now come replacements used to set the lowercase caps
17
18 lower.u#:= % unit width
19 u#;
20
21 lower.width_adj#:= % width adjustment for certain characters
22 width_adj#;
23
24 lower.cap_serif_fit#:= % extra sidebar near uppercase serifs
25 cap_serif_fit#;
26
27 lower.letter_fit#:= % extra space added to all sidebars
28 ((letter_fit#*360pt#) + (design_size * 3))/360pt#;
29
30 lower.body_height#:= % height of tallest characters
31 (body_height#*36pt#*19)/(25*36pt#);
32
33 lower.cap_height#:= % height of caps
34 (cap_height#*36pt#*17)/(22*36pt#);
35
36 lower.x_height#:= % height of lowercase without ascenders
37 (x_height#*36pt#*12)/(15.5*36pt#);
38
39 lower.bar_height#:= % height of crossbar in lowercase e
40 ((bar_height#*36pt#*62)+0.002)/(79*36pt#);
41
42 lower.comma_depth#:= % depth of comma below baseline
43 (comma_depth#*360pt#*38)/(50*360pt#);
44
45 lower.stem#:= % lowercase stem breadth
46 stem#;
47
48 lower.flare#:= % diameter of bulbs or breadth of terminals
49 (flare#*360pt#*30)/(32*360pt#);
50
51 lower.cap_hair#:= % uppercase hairline breadth
52 cap_hair#;
53
54 lower.cap_stem#:= % uppercase stem breadth
55 cap_stem#;
56
57 lower.cap_curve#:= % uppercase curve breadth
58 cap_curve#;
59
60 lower.cap_ess#:= % breadth in middle of uppercase s
61 cap_ess#;
62
63 lower.cap_jut#:= % protrusion of uppercase serifs
64 ((cap_jut#*360pt#*26)+0.01)/(34*360pt#);
65
66 lower.beak_jut#:= % horizontal protrusion of beak serifs
67 beak_jut#;
68
69 lower.beak#:= % vertical protrusion of beak serifs
70 ((beak#*360pt#*26)+0.01)/(34*360pt#);
71
72 lower.slab#:= % serif and arm thickness
73 slab#;
74
75 lower.cap_bar#:= % uppercase bar thickness
76 cap_bar#;
77
78 lower.cap_band#:= % uppercase thickness above/below lobes
79 cap_band#;
80
81 lower.cap_notch_cut#:= % max breadth above/below uppercase notches
82 (cap_notch_cut#*360pt#*24)/(25*360pt#);
83
84 lower.o#:= % amount of overshoot for curves
85 ((o#*360pt#*3)-0.0018)/(4*360pt#);
86
87 lower.apex_o#:= % amount of overshoot for diagonal junctions
88 (apex_o#*360pt#*2)/(3*360pt#);
89
90 lower.fudge:= % factor applied to weights of heavy characters
91 ((fudge*10*85)+0.001)/(81*10);
92
93 generate gaec7cb % switch to the driver file