Debian Codegraph @

texmf-dist/fonts/source/public/sansmathfonts/cmsscsc8.mf

raw
1 % CM-style Sans Serif Caps and Small Caps 8 point
2 % Based on fonts by Donald Knuth
3 % By Ariel Barton, 2013/4/21
4 if unknown cmbase: input cmbase fi
5
6 font_identifier:="CMSSCSC"; font_size 8pt#;
7 % first come parameters used to set the uppercase letters
8 % (including some for lowercase that aren't actually used)
9 u#:=18/36pt#; % eczz0800 % unit width
10 width_adj#:=12/36pt#; % cmss8 % width adjustment for certain characters
11 serif_fit#:=-6/36pt#; % cmss8 % extra sidebar near lowercase serifs
12 cap_serif_fit#:=-8.5/36pt#; % cmss8 % extra sidebar near uppercase serifs
13 letter_fit#:=5/36pt#; % eczz0800 % extra space added to all sidebars
14
15 body_height#:=216/36pt#; % cmss8 % height of tallest characters
16 asc_height#:=200/36pt#; % cmss8 % height of lowercase ascenders
17 cap_height#:=200/36pt#; % cmss8 % height of caps
18 fig_height#:=189/36pt#; % cmss8 % height of numerals
19 x_height#:=128/36pt#; % cmss8 % height of lowercase without ascenders
20 math_axis#:=72/36pt#; % cmss8 % axis of symmetry for math symbols
21 bar_height#:=63/36pt#; % cmss8 % height of crossbar in lowercase e
22 comma_depth#:=37/36pt#; % cmss8 % depth of comma below baseline
23 desc_depth#:=56/36pt#; % cmss8 % depth of lowercase descenders
24
25 crisp#:=0pt#; % cmss8 % diameter of serif corners
26 tiny#:=0pt#; % cmss8 % diameter of rounded corners
27 fine#:=0pt#; % cmss8 % diameter of sharply rounded corners
28 thin_join#:=15/36pt#; % cmss8 % width of extrafine details
29 hair#:=25/36pt#; % cmss8 % lowercase hairline breadth
30 stem#:=25/36pt#; % cmss8 % lowercase stem breadth
31 curve#:=25/36pt#; % cmss8 % lowercase curve breadth
32 ess#:=25/36pt#; % cmss8 % breadth in middle of lowercase s
33 flare#:=22/36pt#; % cmss8 % diameter of bulbs or breadth of terminals
34 dot_size#:=26/36pt#; % cmss8 % diameter of dots
35 cap_hair#:=25/36pt#; % cmss8 % uppercase hairline breadth
36 cap_stem#:=29/36pt#; % cmss8 % uppercase stem breadth
37 cap_curve#:=29/36pt#; % cmss8 % uppercase curve breadth
38 cap_ess#:=28/36pt#; % cmss8 % breadth in middle of uppercase s
39 rule_thickness#:=12.96/36pt#; % cmss8 % thickness of lines in math symbols
40
41 dish#:=0pt#; % cmss8 % amount erased at top or bottom of serifs
42 bracket#:=0pt#; % cmss8 % vertical distance from serif base to tangent
43 jut#:=0pt#; % cmss8 % protrusion of lowercase serifs
44 cap_jut#:=0pt#; % cmss8 % protrusion of uppercase serifs
45 beak_jut#:=0pt#; % cmss8 % horizontal protrusion of beak serifs
46 beak#:=0.4/36pt#; % cmss8 % vertical protrusion of beak serifs
47 vair#:=19/36pt#; % cmss8 % vertical diameter of hairlines
48 notch_cut#:=16/36pt#; % cmss8 % maximum breadth above or below notches
49 bar#:=18/36pt#; % cmss8 % lowercase bar thickness
50 slab#:=20/36pt#; % cmss8 % serif and arm thickness
51 cap_bar#:=19/36pt#; % cmss8 % uppercase bar thickness
52 cap_band#:=17/36pt#; % cmss8 % uppercase thickness above/below lobes
53 cap_notch_cut#:=22/36pt#; % cmss8 % max breadth above/below uppercase notches
54 serif_drop#:=2/36pt#; % cmss8 % vertical drop of sloped serifs
55 stem_corr#:=1/36pt#; % cmss8 % for small refinements of stem breadth
56 vair_corr#:=1/36pt#; % cmss8 % for small refinements of hairline height
57 apex_corr#:=4/36pt#; % cmss8 % extra width at diagonal junctions
58
59 o#:=6/36pt#; % cmss8 % amount of overshoot for curves
60 apex_o#:=0pt#; % cmss8 % amount of overshoot for diagonal junctions
61
62 slant:=0; % cmss8 % tilt ratio $(\Delta x/\Delta y)$
63 fudge:=0.93; % cmss8 % factor applied to weights of heavy characters
64 math_spread:=0.4; % cmss8 % extra openness of math symbols
65 superness:=0.7071; % cmss8 % parameter for superellipses
66 superpull:=0.05; % cmss8 % extra openness inside bowls
67 beak_darkness:=0; % cmss8 % fraction of triangle inside beak serifs
68 ligs:=1; % cmcsc10 % level of ligatures to be included
69
70 square_dots:=true; % cmss8 % should dots be square?
71 hefty:=true; % cmss8 % should we try hard not to be overweight?
72 serifs:=false; % cmss8 % should serifs and bulbs be attached?
73 monospace:=false; % cmss8 % should all characters have the same width?
74 variant_g:=false; % cmss8 % should an italic-style g be used?
75 low_asterisk:=false; % cmss8 % should the asterisk be centered at the axis?
76 math_fitting:=false; % cmcsc10 % should math-mode spacing be used?
77
78
79 % now come replacements used to set the lowercase caps
80
81 lower.u#:=13/36pt#; % eczz0800 % unit width
82 lower.width_adj#:=12/36pt#; % eczz0800 % width adjustment for certain characters
83 lower.cap_serif_fit#:=-6.43/36pt#;% eczz0800 % extra sidebar near uppercase serifs
84 lower.letter_fit#:=2/36pt#; % eczz0800 % extra space added to all sidebars
85
86 lower.body_height#:=146/36pt#; % eczz0800 % height of tallest characters
87 lower.cap_height#:=138/36pt#; % eczz0800 % height of caps
88 lower.x_height#:=87.7/36pt#; % eczz0800 % height of lowercase without ascenders
89 lower.bar_height#:=43.1/36pt#; % eczz0800 % height of crossbar in lowercase e
90 lower.comma_depth#:=25.1/36pt#; % eczz0800 % depth of comma below baseline
91
92 lower.flare#:=15.48/36pt#; % eczz0800 % diameter of bulbs or breadth of terminals
93 lower.cap_hair#:=20/36pt#; % eczz0800 % uppercase hairline breadth
94 lower.stem#:=20.45/36pt#; % eczz0800 % lowercase stem breadth
95 lower.cap_stem#:=22.43/36pt#; % eczz0800 % uppercase stem breadth
96 lower.cap_curve#:=23.19/36pt#; % eczz0800 % uppercase curve breadth
97 lower.cap_ess#:=20.74/36pt#; % eczz0800 % breadth in middle of uppercase s
98
99 lower.cap_jut#:=0pt#; % eczz0800 % protrusion of uppercase serifs
100 lower.beak_jut#:=0pt#; % eczz0800 % horizontal protrusion of beak serifs
101 lower.beak#:=0.27/36pt#; % eczz0800 % vertical protrusion of beak serifs
102 lower.slab#:=16/36pt#; % eczz0800 % serif and arm thickness
103 lower.cap_bar#:=15.2/36pt#; % eczz0800 % uppercase bar thickness
104 lower.cap_band#:=13.6/36pt#; % eczz0800 % uppercase thickness above/below lobes
105 lower.cap_notch_cut#:=22/36pt#; % eczz0800 % max breadth above/below uppercase notches
106
107 lower.o#:=3/36pt#; % eczz0800 % amount of overshoot for curves
108 lower.apex_o#:=0pt#; % eczz0800 % amount of overshoot for diagonal junctions
109
110 lower.fudge:=0.93; % eczz0800 % factor applied to weights of heavy characters
111
112
113 generate csc % switch to the driver file