summaryrefslogtreecommitdiff
path: root/fonts/duerer/cdtt10.mf
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/duerer/cdtt10.mf')
-rw-r--r--fonts/duerer/cdtt10.mf73
1 files changed, 73 insertions, 0 deletions
diff --git a/fonts/duerer/cdtt10.mf b/fonts/duerer/cdtt10.mf
new file mode 100644
index 0000000000..8ad4309b7b
--- /dev/null
+++ b/fonts/duerer/cdtt10.mf
@@ -0,0 +1,73 @@
+%% This file is public domain.
+%% Originally written 1990, Alan Hoenig.
+%% Notice added by Clea F. Rees 2010/12/13 following correspondence between Alan Hoenig and Karl Berry.
+
+% This is CDTT10.MF, Computer Durer Typewriter Type at 10 point design size.
+% Parameters from CDR10.MF are used as much as possible.
+if unknown cmbase: input cmbase fi
+
+font_identifier:="CDTT"; font_size 10pt#; %%
+
+u#:=21/36pt#; % unit width
+hstretch:=.9;
+vstretch:=1;
+width_adj#:=0pt#; % width adjustment for certain characters
+serif_fit#:=0pt#; % extra sidebar near lowercase serifs
+cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs
+letter_fit#:=0pt#; % extra space added to all sidebars
+
+body_height#:=250/36pt#; % height of tallest characters
+asc_height#:=220/36pt#; % height of lowercase ascenders
+cap_height#:=220/36pt#; % height of caps
+fig_height#:=220/36pt#; % height of numerals
+x_height#:=155/36pt#; % height of lowercase without ascenders
+bar_height#:=110/36pt#;
+math_axis#:=110/36pt#; % axis of symmetry for math symbols
+bar_height#:=79/36pt#; % height of crossbar in lowercase e
+comma_depth#:=50/36pt#; % depth of comma below baseline
+desc_depth#:=80/36pt#; % depth of lowercase descenders
+
+% Durer's letters are based on units derived from the side of a square.
+side#:=.9cap_height#;
+thickfudge:=.14; thinfudge:=.9;
+thick#:=thickfudge*side#; % thickness of all thick limbs in Roman font
+thin#:=thinfudge*thick#; % thinness of all thin limbs
+eta:=2-sqrt2; % darkness for serifs
+serif_darkness:=0;
+
+crisp#:=20/36pt#; % diameter of serif corners
+tiny#:=20/36pt#; %% diameter of rounded corners
+fine#:=7/36pt#; % diameter of sharply rounded corners
+rule_thickness#:=.4pt#; % thickness of lines in math symbols
+
+cap_stem#:=thick#; % thickness of majuscule stems
+stem#:=thick#;
+
+dish#:=0pt#; % amount erased at top or bottom of serifs
+bracket#:=0; %% vertical distance from serif base to tangent
+jut#:=thick#; %% protrusion of lowercase serifs
+cap_jut#:=thick#; %% protrusion of uppercase serifs
+beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs
+slab#:=thin#; %% serif and arm thickness
+dslab#=thin#; %%slab value used in Durer fonts
+
+hair#:=vair#:=thin#;
+
+o#:=4/36pt#; % amount of overshoot for curves
+apex_o#:=thin#; % amount of overshoot for diagonal junctions
+apex_corr#=3thick#;
+
+slant:=0; % tilt ratio $(\Delta x/\Delta y)$
+fudge:=.81; % factor applied to weights of heavy characters
+superness:=1/sqrt2; % parameter for superellipses
+superpull:=0; % extra openness inside bowls
+beak_darkness:=0; % fraction of triangle inside beak serifs
+
+boolean informal;
+informal:=false; % generating informal font?
+serifs:=true; % should serifs and bulbs be attached?
+monospace:=true; % should all characters have the same width?
+
+boolean whole_font; whole_font:=false;
+
+generate dtitle %% switch to the driver file---Durer title