| 1 |
|
| 2 |
if unknown cmbase: input cmbase fi |
| 3 |
|
| 4 |
font_identifier:="CMUPINT"; font_size 10pt#; |
| 5 |
|
| 6 |
u#:=20/36pt#; % unit width |
| 7 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 8 |
serif_fit#:=0pt#; % extra sidebar near lowercase serifs |
| 9 |
cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs |
| 10 |
letter_fit#:=0pt#; % extra space added to all sidebars |
| 11 |
|
| 12 |
tdec#:=6u#; % space between integrals signs (textstyle) |
| 13 |
ddec#:=6.5u#; % space between integrals signs (displaystyle) |
| 14 |
|
| 15 |
body_height#:=270/36pt#; % height of tallest characters |
| 16 |
asc_height#:=250/36pt#; % height of lowercase ascenders |
| 17 |
cap_height#:=246/36pt#; % height of caps |
| 18 |
fig_height#:=232/36pt#; % height of numerals |
| 19 |
x_height#:=155/36pt#; % height of lowercase without ascenders |
| 20 |
math_axis#:=90/36pt#; % axis of symmetry for math symbols |
| 21 |
bar_height#:=87/36pt#; % height of crossbar in lowercase e |
| 22 |
comma_depth#:=70/36pt#; % depth of comma below baseline |
| 23 |
desc_depth#:=70/36pt#; % depth of lowercase descenders |
| 24 |
|
| 25 |
crisp#:=0pt#; % diameter of serif corners |
| 26 |
tiny#:=8/36pt#; % diameter of rounded corners |
| 27 |
fine#:=7/36pt#; % diameter of sharply rounded corners |
| 28 |
thin_join#:=7/36pt#; % width of extrafine details |
| 29 |
hair#:=9/36pt#; % lowercase hairline breadth |
| 30 |
stem#:=25/36pt#; % lowercase stem breadth |
| 31 |
curve#:=30/36pt#; % lowercase curve breadth |
| 32 |
ess#:=27/36pt#; % breadth in middle of lowercase s |
| 33 |
flare#:=33/36pt#; % diameter of bulbs or breadth of terminals |
| 34 |
dot_size#:=38/36pt#; % diameter of dots |
| 35 |
cap_hair#:=11/36pt#; % uppercase hairline breadth |
| 36 |
cap_stem#:=32/36pt#; % uppercase stem breadth |
| 37 |
cap_curve#:=37/36pt#; % uppercase curve breadth |
| 38 |
cap_ess#:=35/36pt#; % breadth in middle of uppercase s |
| 39 |
rule_thickness#:=.4pt#; % thickness of lines in math symbols |
| 40 |
|
| 41 |
dish#:=1/36pt#; % amount erased at top or bottom of serifs |
| 42 |
bracket#:=20/36pt#; % vertical distance from serif base to tangent |
| 43 |
jut#:=28/36pt#; % protrusion of lowercase serifs |
| 44 |
cap_jut#:=37/36pt#; % protrusion of uppercase serifs |
| 45 |
beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs |
| 46 |
beak#:=70/36pt#; % vertical protrusion of beak serifs |
| 47 |
vair#:=8/36pt#; % vertical diameter of hairlines |
| 48 |
notch_cut#:=10pt#; % maximum breadth above or below notches |
| 49 |
bar#:=11/36pt#; % lowercase bar thickness |
| 50 |
slab#:=11/36pt#; % serif and arm thickness |
| 51 |
cap_bar#:=11/36pt#; % uppercase bar thickness |
| 52 |
cap_band#:=11/36pt#; % uppercase thickness above/below lobes |
| 53 |
cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches |
| 54 |
serif_drop#:=4/36pt#; % vertical drop of sloped serifs |
| 55 |
stem_corr#:=1/36pt#; % for small refinements of stem breadth |
| 56 |
vair_corr#:=1/36pt#; % for small refinements of hairline height |
| 57 |
apex_corr#:=0pt#; % extra width at diagonal junctions |
| 58 |
|
| 59 |
o#:=8/36pt#; % amount of overshoot for curves |
| 60 |
apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions |
| 61 |
|
| 62 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 63 |
fudge:=1; % factor applied to weights of heavy characters |
| 64 |
math_spread:=0; % extra openness of math symbols |
| 65 |
superness:=1/sqrt2; % parameter for superellipses |
| 66 |
superpull:=1/6; % extra openness inside bowls |
| 67 |
beak_darkness:=11/30; % fraction of triangle inside beak serifs |
| 68 |
ligs:=2; % level of ligatures to be included |
| 69 |
|
| 70 |
square_dots:=false; % should dots be square? |
| 71 |
hefty:=false; % should we try hard not to be overweight? |
| 72 |
serifs:=true; % should serifs and bulbs be attached? |
| 73 |
monospace:=false; % should all characters have the same width? |
| 74 |
variant_g:=false; % should an italic-style g be used? |
| 75 |
low_asterisk:=false; % should the asterisk be centered at the axis? |
| 76 |
math_fitting:=false; % should math-mode spacing be used? |
| 77 |
|
| 78 |
mode_setup; font_setup; |
| 79 |
|
| 80 |
define_pixels(tdec,ddec); |
| 81 |
|
| 82 |
% the following font parameters are explained in {\sl The \TeX book}, Appendix G |
| 83 |
fontdimen 8: % parameters $\xi_8$ through $\xi_{13}$ will now be listed |
| 84 |
rule_thickness#, % default\_rule\_thickness |
| 85 |
40/36pt#, % big\_op\_spacing1 |
| 86 |
60/36pt#, % big\_op\_spacing2 |
| 87 |
72/36pt#, % big\_op\_spacing3 |
| 88 |
216/36pt#, % big\_op\_spacing4 |
| 89 |
36/36pt#; % big\_op\_spacing5 |
| 90 |
|
| 91 |
input upintsym; % symbols |
| 92 |
input upintsymd; % 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. |