Debian Codegraph @

texmf-dist/fonts/source/public/wasy/wasy5.mf

raw
1 % This is WASY5.MF in text format
2 % additional symbols for math, physics, astronomy and other fields
3
4 %input modes;
5 %mode=nec_low;
6
7 if unknown cmbase: input cmbase fi
8
9 font_identifier:="WASY"; font_size 5pt#;
10
11 u#:=12.5/36pt#; % unit width
12 width_adj#:=0pt#; % width adjustment for certain characters
13 serif_fit#:=0pt#; % extra sidebar near lowercase serifs
14 cap_serif_fit#:=2/36pt#; % extra sidebar near uppercase serifs
15 letter_fit#:=5/36pt#; % extra space added to all sidebars
16
17 body_height#:=135/36pt#; % height of tallest characters
18 asc_height#:=125/36pt#; % height of lowercase ascenders
19 cap_height#:=123/36pt#; % height of caps
20 fig_height#:=116/36pt#; % height of numerals
21 x_height#:=77.5/36pt#; % height of lowercase without ascenders
22 math_axis#:=45/36pt#; % axis of symmetry for math symbols
23 bar_height#:=43.5/36pt#; % height of crossbar in lowercase e
24 comma_depth#:=35/36pt#; % depth of comma below baseline
25 desc_depth#:=35/36pt#; % depth of lowercase descenders
26
27 crisp#:=0pt#; % diameter of serif corners
28 tiny#:=6/36pt#; % diameter of rounded corners
29 fine#:=5/36pt#; % diameter of sharply rounded corners
30 thin_join#:=5/36pt#; % width of extrafine details
31 hair#:=7.5/36pt#; % lowercase hairline breadth
32 stem#:=16/36pt#; % lowercase stem breadth
33 curve#:=18/36pt#; % lowercase curve breadth
34 ess#:=12/36pt#; % breadth in middle of lowercase s
35 flare#:=19/36pt#; % diameter of bulbs or breadth of terminals
36 dot_size#:=22/36pt#; % diameter of dots
37 cap_hair#:=8/36pt#; % uppercase hairline breadth
38 cap_stem#:=19/36pt#; % uppercase stem breadth
39 cap_curve#:=21/36pt#; % uppercase curve breadth
40 cap_ess#:=14/36pt#; % breadth in middle of uppercase s
41 rule_thickness#:=.28pt#; % thickness of lines in math symbols
42
43 dish#:=.7/36pt#; % amount erased at top or bottom of serifs
44 bracket#:=10/36pt#; % vertical distance from serif base to tangent
45 jut#:=15/36pt#; % protrusion of lowercase serifs
46 cap_jut#:=20/36pt#; % protrusion of uppercase serifs
47 beak_jut#:=6/36pt#; % horizontal protrusion of beak serifs
48 %if write_white > 0: %% CS: replaced this line by the following:
49 if known write_white:
50 beak#:=25/36pt#; % "WRITE WHITE" ONLY!
51 else: beak#:=35/36pt#;fi %vertical protrusion of beak serifs
52 vair#:=6/36pt#; % vertical diameter of hairlines
53 notch_cut#:=5pt#; % maximum breadth above or below notches
54 bar#:=8/36pt#; % lowercase bar thickness
55 slab#:=8/36pt#; % serif and arm thickness
56 cap_bar#:=8/36pt#; % uppercase bar thickness
57 cap_band#:=8/36pt#; % uppercase thickness above/below lobes
58 cap_notch_cut#:=5pt#; % max breadth above/below uppercase notches
59 serif_drop#:=2/36pt#; % vertical drop of sloped serifs
60 stem_corr#:=.7/36pt#; % for small refinements of stem breadth
61 vair_corr#:=.5/36pt#; % for small refinements of hairline height
62 apex_corr#:=0pt#; % extra width at diagonal junctions
63
64 o#:=4/36pt#; % amount of overshoot for curves
65 apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions
66
67 slant:=0; % tilt ratio $(\Delta x/\Delta y)$
68 fudge:=1; % factor applied to weights of heavy characters
69 math_spread:=0; % extra openness of math symbols
70 superness:=1/sqrt2; % parameter for superellipses
71 superpull:=1/6; % extra openness inside bowls
72 beak_darkness:=11/30; % fraction of triangle inside beak serifs
73 ligs:=2; % level of ligatures to be included
74
75 square_dots:=false; % should dots be square?
76 hefty:=false; % should we try hard not to be overweight?
77 serifs:=true; % should serifs and bulbs be attached?
78 monospace:=false; % should all characters have the same width?
79 variant_g:=false; % should an italic-style g be used?
80 low_asterisk:=false; % should the asterisk be centered at the axis?
81 math_fitting:=false; % should math-mode spacing be used?
82
83
84 if ligs>1: font_coding_scheme:="TeX text";
85 else: font_coding_scheme:=if ligs=0: "TeX typewriter text"
86 else: "TeX text without f-ligatures" fi;
87 fi
88
89 mode_setup; font_setup;
90
91 input rsym; % symbols
92 input lasychr; % lasy font symbols
93
94
95 font_slant slant; font_x_height x_height#;
96 if monospace: font_normal_space 9u#; % no stretching or shrinking
97 font_quad 18u#;
98 font_extra_space 9u#;
99 else: font_normal_space 6u#+2letter_fit#;
100 font_normal_stretch 3u#; font_normal_shrink 2u#;
101 font_quad 18u#+4letter_fit#;
102 font_extra_space 2u#; fi
103 bye.