Debian Codegraph @

texmf-dist/fonts/source/public/phonetic/phoital.mf

raw
1 % The Computer Modern Text Italic family (by D. E. Knuth, 1979--1985)
2 % this file has been changed to run the phonetic fonts instead of the
3 % standard italic fonts.
4
5 mode_setup; font_setup;
6
7
8 input phoitchar;
9 input greekl; % lowercase greek
10 %input testital;
11 %input itall; % lower case (minuscules)
12 %input italsp; % lowercase specials (dotless \i, ligature \ae, etc.)
13 %if ligs>1: font_coding_scheme:="TeX text";
14 % spanish_shriek=oct"074"; spanish_query=oct"076";
15 % input italig; % letter ligatures
16 %else: font_coding_scheme:=if ligs=0: "TeX typewriter text"
17 % else: "TeX text without f-ligatures" fi;
18 % spanish_shriek=oct"016"; spanish_query=oct"017"; fi
19
20 font_slant slant; font_x_height x_height#;
21 if monospace: font_normal_space 9u#; % no stretching or shrinking
22 font_quad 18u#;
23 font_extra_space 9u#;
24 letter_fit#:=letter_fit:=0;
25 else: font_normal_space 6u#+2letter_fit#;
26 font_normal_stretch 3u#; font_normal_shrink 2u#;
27 font_quad 18u#+4letter_fit#;
28 font_extra_space 2u#; fi
29
30 %input romanu; % upper case (majuscules)
31 %input greeku; % upper case greek letters
32 %input itald; % numerals
33 %input italp; % ampersand, question marks, currency sign
34 %input romspu; % uppercase specials (\AE, \OE, \O)
35 %input punct; % punctuation symbols common to roman and italic text
36 %input accent; % accents common to roman and italic text
37 %if ligs>0: input comlig; fi % ligatures common with roman text
38 %if ligs<=1: input romsub; fi % substitutes for ligatures
39
40 %ligtable "!": "`" =: spanish_shriek;
41 %ligtable "?": "`" =: spanish_query;
42
43 bye.
44
45 if not monospace:
46 k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
47 ligtable "d": "w": "l": "l" kern +u#;
48 ligtable "F": "V": "o" kern kk#, "e" kern kk#,
49 "u" kern kk#, "r" kern kk#, "a" kern kk#, "A" kern kkk#,
50 "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
51 ligtable "T": "y" kern kk#,
52 "Y": "e" kern kk#, "o" kern kk#, "r" kern kk#, "a" kern kk#, "u" kern kk#,
53 "P": "W": "A" kern kk#;
54 ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
55 "V" kern k#, "Y" kern k#;
56 ligtable "A": "R": "n" kern k#, "l" kern k#, "r" kern k#, "u" kern k#,
57 "m" kern k#, "t" kern k#, "i" kern k#, "C" kern k#, "O" kern k#, "G" kern k#,
58 "h" kern k#, "b" kern k#, "U" kern k#, "k" kern k#, "v" kern k#, "w" kern k#,
59 "Q" kern k#, "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#,
60 "b": "c": "e": "o": "p": "r": "e" kern -u#, "a" kern -u#, "o" kern -u#,
61 "d" kern -u#, "c" kern -u#, "g" kern -u#, "q" kern -u#;
62 ligtable "n": "'" kern kkk#; fi
63 % there are ligature/kern programs for |"f"| in the {\tt romlig} file
64 % and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file
65 bye.