Debian Codegraph @

texmf-dist/fonts/source/public/duerer/cdtt10.mf

raw
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 CDTT10.MF, Computer Durer Typewriter Type 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:="CDTT"; font_size 10pt#; %%
10
11 u#:=21/36pt#; % unit width
12 hstretch:=.9;
13 vstretch:=1;
14 width_adj#:=0pt#; % width adjustment for certain characters
15 serif_fit#:=0pt#; % extra sidebar near lowercase serifs
16 cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs
17 letter_fit#:=0pt#; % extra space added to all sidebars
18
19 body_height#:=250/36pt#; % height of tallest characters
20 asc_height#:=220/36pt#; % height of lowercase ascenders
21 cap_height#:=220/36pt#; % height of caps
22 fig_height#:=220/36pt#; % height of numerals
23 x_height#:=155/36pt#; % height of lowercase without ascenders
24 bar_height#:=110/36pt#;
25 math_axis#:=110/36pt#; % axis of symmetry for math symbols
26 bar_height#:=79/36pt#; % height of crossbar in lowercase e
27 comma_depth#:=50/36pt#; % depth of comma below baseline
28 desc_depth#:=80/36pt#; % depth of lowercase descenders
29
30 % Durer's letters are based on units derived from the side of a square.
31 side#:=.9cap_height#;
32 thickfudge:=.14; thinfudge:=.9;
33 thick#:=thickfudge*side#; % thickness of all thick limbs in Roman font
34 thin#:=thinfudge*thick#; % thinness of all thin limbs
35 eta:=2-sqrt2; % darkness for serifs
36 serif_darkness:=0;
37
38 crisp#:=20/36pt#; % diameter of serif corners
39 tiny#:=20/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#:=0pt#; % amount erased at top or bottom of serifs
47 bracket#:=0; %% vertical distance from serif base to tangent
48 jut#:=thick#; %% protrusion of lowercase serifs
49 cap_jut#:=thick#; %% 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#:=4/36pt#; % amount of overshoot for curves
57 apex_o#:=thin#; % amount of overshoot for diagonal junctions
58 apex_corr#=3thick#;
59
60 slant:=0; % tilt ratio $(\Delta x/\Delta y)$
61 fudge:=.81; % factor applied to weights of heavy characters
62 superness:=1/sqrt2; % parameter for superellipses
63 superpull:=0; % extra openness inside bowls
64 beak_darkness:=0; % fraction of triangle inside beak serifs
65
66 boolean informal;
67 informal:=false; % generating informal font?
68 serifs:=true; % should serifs and bulbs be attached?
69 monospace:=true; % 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