Debian Codegraph @

texmf-dist/fonts/source/public/oldlatin/oroman.mf

raw
1 % THIS IS THE OLD LATIN SOURCE FILE oroman.mf BY T. TERASHITA.
2 % IT MUST NOT BE MODIFIED IN ANY WAY UNLESS THE FILE NAME IS CHANGED!
3
4 % The Old Latin Roman family of fonts
5 % based on roman.mf and
6 % used with The Computer Modern Roman family of fonts
7 % (by D. E. Knuth, 1979--1985)
8
9 if ligs>1: font_coding_scheme:="TeX text";
10 spanish_shriek=oct"074"; spanish_query=oct"076";
11 else: font_coding_scheme:=if ligs=0: "TeX typewriter text"
12 else: "TeX text without f-ligatures" fi;
13 spanish_shriek=oct"016"; spanish_query=oct"017"; fi
14
15 mode_setup; font_setup;
16
17 input romanu; % upper case (majuscules)
18 input oromanl; % lower case (minuscules)
19 input greeku; % upper case Greek letters
20 input romand; % numerals
21 input romanp; % ampersand, question marks, currency sign
22 input romspl; % lowercase specials (dotless \i, ligature \ae, etc.)
23 input romspu; % uppercase specials (\AE, \OE, \O)
24 input punct; % punctuation symbols common to roman and italic text
25 input accent; % accents common to roman and italic text
26 if ligs>1: input oromlig; fi % letter ligatures
27 if ligs>1: input oromligs; fi % letter ligatures langes Es
28 if ligs>0: input comlig; fi % ligatures common with italic text
29 if ligs<=1: input romsub; fi % substitutes for ligatures
30
31 ligtable "!": "`" =: spanish_shriek;
32 ligtable "?": "`" =: spanish_query;
33 font_slant slant; font_x_height x_height#;
34 if monospace: font_normal_space 9u#; % no stretching or shrinking
35 font_quad 18u#;
36 font_extra_space 9u#;
37 % added for "rundes es" normaly defined in oromligs.mf
38 ligtable "s": ":"=:oct"363";
39 else: font_normal_space 6u#+2letter_fit#;
40 font_normal_stretch 3u#; font_normal_shrink 2u#;
41 font_quad 18u#+4letter_fit#;
42 font_extra_space 2u#;
43 k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
44 ligtable "k": if serifs: "v": "a" kern -u#, fi\\"w": "e" kern k#,
45 "a" kern k#, "o" kern k#, "c" kern k#;
46 ligtable "P": "A" kern kk#,
47 "y": "o" kern k#, "e" kern k#, "a" kern k#, "." kern kk#, "," kern kk#;
48 ligtable "F": "V": "W": if serifs: "o" kern kk#, "e" kern kk#, "u" kern kk#,
49 "r" kern kk#, "a" kern kk#, "A" kern kkk#,
50 else: "o" kern k#, "e" kern k#, "u" kern k#,
51 "r" kern k#, "a" kern k#, "A" kern kk#, fi
52 "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
53 ligtable "T": "y" kern if serifs: k# else: kk# fi,
54 "Y": "e" kern kk#, "o" kern kk#,
55 "r" kern kk#, "a" kern kk#, "A" kern kk#, "u" kern kk#;
56 ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
57 "V" kern k#, "Y" kern k#;
58 if serifs: ligtable "h": "m": "n":
59 "t" kern k#, "u" kern k#, "b" kern k#, "y" kern k#, "v" kern k#, "w" kern k#;
60 ligtable "c": "h" kern k#, "k" kern k# if ligs>1:, "t"=:oct"343" fi; fi
61 % for tiny font like 5pt or smallcaps
62 if ligs=1: ligtable "s": ":"=:oct"363"; fi
63 ligtable "o": "b": "p": "e" kern -k#, "o" kern -k#, "x" kern k#,
64 "d" kern -k#, "c" kern -k#, "q" kern -k#,
65 "a": if serifs: "v" kern k#, "j" kern u#, else: "r" kern k#, fi
66 "t": "y" kern k#,
67 "u": "w" kern k#;
68 ligtable "A": if serifs: "R": fi\\ "t" kern k#,
69 "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#,
70 "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#;
71 ligtable "g": "j" kern -k#; % logjam
72 ligtable "I": "I" kern -k#; fi % Richard III
73 % there are ligature/kern programs for |"f"| in the {\tt oromlig} file
74 % and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file
75 bye.