version 4 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
TFMTODIT |
|
|
2 |
!!!TFMTODIT |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
FILES |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
tfmtodit - create font files for use with groff -Tdvi |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__tfmtodit__ [[ __-sv__ ] [[ __-g__''gf_file'' ] [[ |
|
|
18 |
__-k__''skewchar'' ] ''tfm_file map_file |
|
|
19 |
font'' |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
It is possible to have whitespace between a command line |
|
|
23 |
option and its parameter. |
|
|
24 |
!!DESCRIPTION |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
__tfmtodit__ creates a font file for use with __groff |
|
|
28 |
-Tdvi__. ''tfm_file'' is the name of the TEX font |
|
|
29 |
metric file for the font. ''map_file'' is a file giving |
|
|
30 |
the groff names for characters in the font; this file should |
|
|
31 |
consist of a sequence of lines of the form: |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
''n c1 c2'' ... |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
where ''n'' is a decimal integer giving the position of |
|
|
38 |
the character in the font, and ''c1'', ''c2'',... are |
|
|
39 |
the groff names of the character. If a character has no |
|
|
40 |
groff names but exists in the tfm file, then it will be put |
|
|
41 |
in the groff font file as an unnamed character. ''font'' |
|
|
42 |
is the name of the groff font file. The groff font file is |
|
|
43 |
written to ''font''. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
The __-s__ option should be given if the font is special |
|
|
47 |
(a font is ''special'' if __troff__ should search it |
|
|
48 |
whenever a character is not found in the current font.) If |
|
|
49 |
the font is special, it should be listed in the __fonts__ |
|
|
50 |
command in the DESC file; if it is not special, there is no |
|
|
51 |
need to list it, since __troff__ can automatically mount |
|
|
52 |
it when it's first used. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
To do a good job of math typesetting, groff requires font |
|
|
56 |
metric information not present in the tfm file. The reason |
|
|
57 |
for this is that TEX has separate math italic fonts whereas |
|
|
58 |
groff uses normal italic fonts for math. The additional |
|
|
59 |
information required by groff is given by the two arguments |
|
|
60 |
to the __math_fit__ macro in the Metafont programs for |
|
|
61 |
the Computer Modern fonts. In a text font (a font for which |
|
|
62 |
__math_fitting__ is false), Metafont normally ignores |
|
|
63 |
these two arguments. Metafont can be made to put this |
|
|
64 |
information in the gf file by loading the following |
|
|
65 |
definition after __cmbase__ when creating |
|
|
66 |
__cm.base__: |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
__def ignore_math_fit(expr left_adjustment,right_adjustment) = |
|
|
70 |
special |
|
|
71 |
__ |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
The gf file created using this modified __cm.base__ |
|
|
75 |
should be specified with the __-g__ option. The __-g__ |
|
|
76 |
option should not be given for a font for which |
|
|
77 |
__math_fitting__ is true. |
|
|
78 |
!!OPTIONS |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
__-v__ |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
Print the version number. |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
__-s__ |
|
|
88 |
|
|
|
89 |
|
|
|
90 |
The font is special. The effect of this option is to add the |
|
|
91 |
__special__ command to the font file. |
|
|
92 |
|
|
|
93 |
|
|
|
94 |
__-k__''n'' |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
The skewchar of this font is at position ''n''. ''n'' |
|
|
98 |
should be an integer; it may be given in decimal, or with a |
|
|
99 |
leading __0__ in octal, or with a leading __0x__ in |
|
|
100 |
hexadecimal. The effect of this option is to ignore any |
|
|
101 |
kerns whose second component is the specified |
|
|
102 |
character. |
|
|
103 |
|
|
|
104 |
|
|
|
105 |
__-g__''gf_file'' |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
''gf_file'' is a gf file produced by Metafont containing |
|
|
109 |
special and numspecial commands giving additional font |
|
|
110 |
metric information. |
|
|
111 |
!!FILES |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
__/usr/share/groff/1.17.2/font/devdvi/DESC__ |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
Device description file. |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
__/usr/share/groff/1.17.2/font/devdvi/__''F'' |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
Font description file for font ''F''. |
|
|
124 |
!!SEE ALSO |
|
|
125 |
|
|
|
126 |
|
|
|
127 |
groff(1), grodvi(1), |
|
|
128 |
groff_font(5) |
|
|
129 |
---- |