| 1 |
%% This file is public domain. |
| 2 |
%% Originally written 1990, Alan Hoenig. |
| 3 |
%% Notice added by Clea F. Rees 2010/12/13 following correspondence between Alan Hoenig and Karl Berry. |
| 4 |
|
| 5 |
% This is CDI10.MF, Computer Durer Roman at 10 point design size. |
| 6 |
% Parameters from CDR10.MF are used as much as possible. |
| 7 |
if unknown cmbase: input cmbase fi |
| 8 |
|
| 9 |
font_identifier:="CDI"; font_size 10pt#; %% |
| 10 |
|
| 11 |
u#:=22/36pt#; % unit width |
| 12 |
hstretch:=1; |
| 13 |
vstretch:=1.2; |
| 14 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 15 |
serif_fit#:=0pt#; % extra sidebar near lowercase serifs |
| 16 |
cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs |
| 17 |
letter_fit#:=0pt#; % extra space added to all sidebars |
| 18 |
|
| 19 |
body_height#:=270/36pt#; % height of tallest characters |
| 20 |
asc_height#:=250/36pt#; % height of lowercase ascenders |
| 21 |
cap_height#:=246/36pt#; % height of caps |
| 22 |
fig_height#:=232/36pt#; % height of numerals |
| 23 |
x_height#:=155/36pt#; % height of lowercase without ascenders |
| 24 |
bar_height#:=87/36pt#; |
| 25 |
math_axis#:=90/36pt#; % axis of symmetry for math symbols |
| 26 |
bar_height#:=87/36pt#; % height of crossbar in lowercase e |
| 27 |
comma_depth#:=70/36pt#; % depth of comma below baseline |
| 28 |
desc_depth#:=70/36pt#; % depth of lowercase descenders |
| 29 |
|
| 30 |
% Durer's letters are based on units derived from the side of a square. |
| 31 |
side#:=cap_height#; |
| 32 |
thickfudge:=.13; thinfudge:=.4; |
| 33 |
thick#:=thickfudge*side#; % thickness of all thick limbs in Roman font |
| 34 |
thin#:=thinfudge*thick#; % thinness of all thin limbs |
| 35 |
eta:=.9(2-sqrt2); % darkness for serifs |
| 36 |
serif_darkness:=eta; |
| 37 |
|
| 38 |
crisp#:=10/36pt#; % diameter of serif corners |
| 39 |
tiny#:=10/36pt#; %% diameter of rounded corners |
| 40 |
fine#:=7/36pt#; % diameter of sharply rounded corners |
| 41 |
rule_thickness#:=.4pt#; % thickness of lines in math symbols |
| 42 |
|
| 43 |
cap_stem#:=thick#; % thickness of majuscule stems |
| 44 |
stem#:=thick#; |
| 45 |
|
| 46 |
dish#:=1/36pt#; % amount erased at top or bottom of serifs |
| 47 |
bracket#:=1.2thick#; %% vertical distance from serif base to tangent |
| 48 |
jut#:=thick#; %% protrusion of lowercase serifs |
| 49 |
cap_jut#:=1.0thick#; %% protrusion of uppercase serifs |
| 50 |
beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs |
| 51 |
slab#:=thin#; %% serif and arm thickness |
| 52 |
dslab#=thin#; %%slab value used in Durer fonts |
| 53 |
|
| 54 |
hair#:=vair#:=thin#; |
| 55 |
|
| 56 |
o#:=8/36pt#; % amount of overshoot for curves |
| 57 |
apex_o#:=thin#; % amount of overshoot for diagonal junctions |
| 58 |
apex_corr#=0pt#; |
| 59 |
|
| 60 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 61 |
fudge:=1; % factor applied to weights of heavy characters |
| 62 |
superness:=1/sqrt2; % parameter for superellipses |
| 63 |
superpull:=1/6; % extra openness inside bowls |
| 64 |
beak_darkness:=11/30; % fraction of triangle inside beak serifs |
| 65 |
|
| 66 |
boolean informal; |
| 67 |
informal:=true; % generating informal font? |
| 68 |
serifs:=true; % should serifs and bulbs be attached? |
| 69 |
monospace:=false; % should all characters have the same width? |
| 70 |
|
| 71 |
boolean whole_font; whole_font=false; |
| 72 |
|
| 73 |
generate dtitle %% switch to the driver file---Durer title |