Debian Codegraph @

texmf-dist/fonts/source/public/cmbright/broman.mf

raw
1 % The Computer Modern Roman family of fonts (by D. E. Knuth, 1979--1985)
2 % Modified for the CM Bright fonts [1995/10/04 v0.997 WaS]
3 if ligs>1: font_coding_scheme:="TeX text";
4 spanish_shriek=oct"074"; spanish_query=oct"076";
5 else: font_coding_scheme:=if ligs=0: "TeX typewriter text"
6 else: "TeX text without f-ligatures" fi;
7 spanish_shriek=oct"016"; spanish_query=oct"017"; fi
8
9 mode_setup; font_setup;
10 define_pixels(sym_u);define_whole_vertical_pixels(sym_height);
11 % lowres_fix(stem,cap_stem)1.12;
12
13 input romanu; % upper case (majuscules)
14 input bromanl; % lower case (minuscules)
15 input bgreeku; % upper case Greek letters
16 input romand; % numerals
17 input romanp; % ampersand, question marks, currency sign
18 input romspl; % lowercase specials (dotless \i, ligature \ae, etc.)
19 input romspu; % uppercase specials (\AE, \OE, \O)
20 input bpunct; % punctuation symbols common to roman and italic text
21 input baccent; % accents common to roman and italic text
22 if ligs>1: input bromlig; fi % letter ligatures
23 if ligs>0: input comlig; fi % ligatures common with italic text
24 if ligs<=1: input romsub; fi % substitutes for ligatures
25
26 ligtable "!": "`" =: spanish_shriek;
27 ligtable "?": "`" =: spanish_query;
28 font_slant slant; font_x_height x_height#;
29 if monospace: font_normal_space 9u#; % no stretching or shrinking
30 font_quad 18u#;
31 font_extra_space 9u#;
32 else: font_normal_space 5.7u#+2letter_fit#;
33 font_normal_stretch 2.85u#; font_normal_shrink 1.9u#;
34 font_quad 18u#+4letter_fit#;
35 font_extra_space 1.9u#;
36 k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
37 ligtable "k": if serifs: "v": "a" kern -u#, fi\\"w": "e" kern k#,
38 "a" kern k#, "o" kern k#, "c" kern k#;
39 ligtable "P": "A" kern kk#,
40 "y": "o" kern k#, "e" kern k#, "a" kern k#, "." kern kk#, "," kern kk#;
41 ligtable "F": "V": "W": if serifs: "o" kern kk#, "e" kern kk#, "u" kern kk#,
42 "r" kern kk#, "a" kern kk#, "A" kern kkk#,
43 else: "o" kern k#, "e" kern k#, "u" kern k#,
44 "r" kern k#, "a" kern k#, "A" kern kk#, fi
45 "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
46 ligtable "T": "y" kern if serifs: k# else: kk# fi,
47 "Y": "e" kern kk#, "o" kern kk#,
48 "r" kern kk#, "a" kern kk#, "A" kern kk#, "u" kern kk#;
49 ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
50 "V" kern k#, "Y" kern k#;
51 if serifs: ligtable "h": "m": "n":
52 "t" kern k#, "u" kern k#, "b" kern k#, "y" kern k#, "v" kern k#, "w" kern k#;
53 ligtable "c": "h" kern k#, "k" kern k#; fi
54 ligtable "o": "b": "p":
55 if known bx_kerning:
56 "e" kern -k#, "o" kern -k#,
57 "d" kern -k#,
58 "c" kern -k#, "q" kern -k#,
59 fi
60 "x" kern k#,
61 "a": if serifs: "v" kern k#, "j" kern u#, else: "r" kern k#, fi
62 "t": "y" kern k#,
63 "u": "w" kern k#;
64 ligtable "A": if serifs: "R": fi\\ "t" kern k#,
65 "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#,
66 "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#;
67 ligtable "g": "j" kern -k#; % logjam
68 ligtable "I": "I" kern -k#; fi % Richard III
69 % there are ligature/kern programs for |"f"| in the {\tt romlig} file
70 % and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file
71 bye.