Debian Codegraph @

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

raw
1 % ttsymb.mf
2 %
3 % (c) Copyright 1995, 1996, 1997 J"org Knappen
4 % (c) Copyright 2000 J"org Knappen, Walter Schmidt
5 %
6 % This file is part of the CM Bright fonts v1.0f
7 %
8 % Driver file for the tc fonts,
9 % to be used for the Typewriter Light typefaces.
10 %
11
12 version_check(1,0); % |version_check| was introduced in dc1.3
13
14 input exaccess; % accent accessories
15 input txpseudo; % pseudoparameters
16
17 mode_setup; font_setup; pseudo_setup;
18
19 input txaccent; % flat accents for capital letters
20 input txgen; % genealogical symbols (by DEK)
21 input ttsymbol; % misc. symbols % <-----------------
22 if variant_g: % italics?
23 input txitlod; % old style digits (by GJL)
24 input txisuper; % superscript 1,2,3
25 input txifract; % fractions 1/4, 1/2, 3/4
26 else: % roman
27 input txromod; % old style digits (by DEK)
28 input txrsuper; % superscript 1,2,3
29 input txrfract; % fractions 1/4, 1/2, 3/4
30 fi;
31
32 % Ligtable
33
34 if not monospace:
35 ligtable "-": oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar>
36 fi
37
38 % Fontparameter
39 %
40 font_coding_scheme:="TeX text companion symbols 1---TS1";
41 boundarychar:=oct"027";
42 font_slant slant;
43 font_x_height x_height#;
44 font_cap_height cap_height#;
45 font_asc_height asc_height#;
46 font_acc_cap_height (cap_height#+acc_height#);
47 font_desc_depth desc_depth#;
48 font_max_height(max(asc_height#,body_height#,
49 cap_height#+acc_height#));
50 font_max_depth(max(desc_depth#,paren_depth#,the_ogonek_depth#));
51 % font_digit_width % set inside the digits file
52 font_cap_stem cap_stem#; % No letter capital I in the symbols
53 font_baselineskip max(1.2*designsize,body_height#+paren_depth#);
54
55 if monospace: font_normal_space 9u#; % no stretching or shrinking
56 font_quad 18u#;
57 font_extra_space 9u#;
58 else: font_normal_space 6u#+2letter_fit#;
59 font_normal_stretch 3u#; font_normal_shrink 2u#;
60 font_quad 18u#+4letter_fit#;
61 font_extra_space 2u#;
62 fi
63
64 bye.