| 1 |
% This file is public domain. |
| 2 |
% Originally written 1988, Don Hosek. |
| 3 |
% This declaration added by Clea F. Rees 2008/11/14 with the permission of Dan Hosek. |
| 4 |
% |
| 5 |
% This is CMPICAB.MF in text format, as of Jul 14, 1988. |
| 6 |
if unknown cmbase: input cmbase fi |
| 7 |
|
| 8 |
font_identifier:="CMPICAB"; font_size 10pt#; |
| 9 |
|
| 10 |
u#:=29/36pt#; % unit width |
| 11 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 12 |
serif_fit#:=0pt#; % extra sidebar near lowercase serifs |
| 13 |
cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs |
| 14 |
letter_fit#:=0pt#; % extra space added to all sidebars |
| 15 |
|
| 16 |
body_height#:=275/36pt#; % height of tallest characters |
| 17 |
asc_height#:=242/36pt#; % height of lowercase ascenders |
| 18 |
cap_height#:=242/36pt#; % height of caps |
| 19 |
fig_height#:=242/36pt#; % height of numerals |
| 20 |
x_height#:=171/36pt#; % height of lowercase without ascenders |
| 21 |
math_axis#:=121/36pt#; % axis of symmetry for math symbols |
| 22 |
bar_height#:=87/36pt#; % height of crossbar in lowercase e |
| 23 |
comma_depth#:=50/36pt#; % depth of comma below baseline |
| 24 |
desc_depth#:=80/36pt#; % depth of lowercase descenders |
| 25 |
|
| 26 |
crisp#:=22/36pt#; % diameter of serif corners |
| 27 |
tiny#:=22/36pt#; % diameter of rounded corners |
| 28 |
fine#:=21/36pt#; % diameter of sharply rounded corners |
| 29 |
thin_join#:=21/36pt#; % width of extrafine details |
| 30 |
hair#:=25/36pt#; % lowercase hairline breadth |
| 31 |
stem#:=25/36pt#; % lowercase stem breadth |
| 32 |
curve#:=25/36pt#; % lowercase curve breadth |
| 33 |
ess#:=22/36pt#; % breadth in middle of lowercase s |
| 34 |
flare#:=32/36pt#; % diameter of bulbs or breadth of terminals |
| 35 |
dot_size#:=36/36pt#; % diameter of dots |
| 36 |
cap_hair#:=25/36pt#; % uppercase hairline breadth |
| 37 |
cap_stem#:=25/36pt#; % uppercase stem breadth |
| 38 |
cap_curve#:=25/36pt#; % uppercase curve breadth |
| 39 |
cap_ess#:=25/36pt#; % breadth in middle of uppercase s |
| 40 |
rule_thickness#:=25/36pt#; % thickness of lines in math symbols |
| 41 |
|
| 42 |
dish#:=0pt#; % amount erased at top or bottom of serifs |
| 43 |
bracket#:=0pt#; % vertical distance from serif base to tangent |
| 44 |
jut#:=34/36pt#; % protrusion of lowercase serifs |
| 45 |
cap_jut#:=34/36pt#; % protrusion of uppercase serifs |
| 46 |
beak_jut#:=0pt#; % horizontal protrusion of beak serifs |
| 47 |
beak#:=34/36pt#; % vertical protrusion of beak serifs |
| 48 |
vair#:=22/36pt#; % vertical diameter of hairlines |
| 49 |
notch_cut#:=25/36pt#; % maximum breadth above or below notches |
| 50 |
bar#:=22/36pt#; % lowercase bar thickness |
| 51 |
slab#:=22/36pt#; % serif and arm thickness |
| 52 |
cap_bar#:=22/36pt#; % uppercase bar thickness |
| 53 |
cap_band#:=22/36pt#; % uppercase thickness above/below lobes |
| 54 |
cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches |
| 55 |
serif_drop#:=0pt#; % vertical drop of sloped serifs |
| 56 |
stem_corr#:=0pt#; % for small refinements of stem breadth |
| 57 |
vair_corr#:=0pt#; % for small refinements of hairline height |
| 58 |
apex_corr#:=10/36pt#; % extra width at diagonal junctions |
| 59 |
|
| 60 |
o#:=4/36pt#; % amount of overshoot for curves |
| 61 |
apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions |
| 62 |
|
| 63 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 64 |
fudge:=0.81; % factor applied to weights of heavy characters |
| 65 |
math_spread:=-1; % extra openness of math symbols |
| 66 |
superness:=1/sqrt2; % parameter for superellipses |
| 67 |
superpull:=0; % extra openness inside bowls |
| 68 |
beak_darkness:=0; % fraction of triangle inside beak serifs |
| 69 |
ligs:=0; % level of ligatures to be included |
| 70 |
|
| 71 |
square_dots:=false; % should dots be square? |
| 72 |
hefty:=true; % should we try hard not to be overweight? |
| 73 |
serifs:=true; % should serifs and bulbs be attached? |
| 74 |
monospace:=true; % should all characters have the same width? |
| 75 |
variant_g:=false; % should an italic-style g be used? |
| 76 |
low_asterisk:=true; % should the asterisk be centered at the axis? |
| 77 |
math_fitting:=false; % should math-mode spacing be used? |
| 78 |
|
| 79 |
% the remainder of the code here tells \MF\ to draw a squiggly line |
| 80 |
% under all characters except the diacriticals; this an archaic |
| 81 |
% typesetters' convention for indicating boldface text. |
| 82 |
|
| 83 |
extra_endchar:=extra_endchar&"undersquiggle;"; |
| 84 |
|
| 85 |
def undersquiggle = |
| 86 |
if (charcode<oct"022") or ((charcode>oct"030") and (charcode<oct"056")) |
| 87 |
or ((charcode<oct"136") and (charcode>oct"057")) |
| 88 |
or ((charcode>oct"137") and (charcode<oct"176")): |
| 89 |
pickup pencircle scaled 0.6pt; |
| 90 |
draw squiggle; |
| 91 |
fi; |
| 92 |
enddef; |
| 93 |
|
| 94 |
def squiggle=(0,-100/36pt){right}..(1/8w,-85/36pt).. |
| 95 |
{right}(2/8w,-100/36pt){right}..(3/8w,-115/36pt).. |
| 96 |
{right}(4/8w,-100/36pt){right}..(5/8w,-85/36pt).. |
| 97 |
{right}(6/8w,-100/36pt){right}..(7/8w,-115/36pt)..{right}(w,-100/36pt) |
| 98 |
enddef; |
| 99 |
|
| 100 |
generate pica % switch to the driver file |