summaryrefslogtreecommitdiff
path: root/info/fontname/html/Variants.html
blob: cba6ff88e0afee9543286b573bcf5689f53418bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This document is in the public domain and may be used freely. -->
<!-- Created by GNU Texinfo 6.0, http://www.gnu.org/software/texinfo/ -->
<head>
<title>Filenames for TeX fonts: Variants</title>

<meta name="description" content="Filenames for TeX fonts: Variants">
<meta name="keywords" content="Filenames for TeX fonts: Variants">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="General-index.html#General-index" rel="index" title="General index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Filenames-for-fonts.html#Filenames-for-fonts" rel="up" title="Filenames for fonts">
<link href="Widths.html#Widths" rel="next" title="Widths">
<link href="Weights.html#Weights" rel="prev" title="Weights">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space: nowrap}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: serif; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<a name="Variants"></a>
<div class="header">
<p>
Next: <a href="Widths.html#Widths" accesskey="n" rel="next">Widths</a>, Previous: <a href="Weights.html#Weights" accesskey="p" rel="prev">Weights</a>, Up: <a href="Filenames-for-fonts.html#Filenames-for-fonts" accesskey="u" rel="up">Filenames for fonts</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="General-index.html#General-index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="Variants-1"></a>
<h3 class="section">2.4 Variants</h3>

<a name="index-variants"></a>

<p><em>Variants</em> include typeface variations (e.g., italic, sans serif),
and font encodings (e.g., Adobe standard, TeX text).
</p>
<a name="index-multiple-variants"></a>
<p>A fontname may require multiple variants.  To resolve the worst
ambiguities, we specify that any encoding variant (&lsquo;<samp>7</samp>&rsquo;, &lsquo;<samp>8</samp>&rsquo;,
or &lsquo;<samp>9</samp>&rsquo;, see below) come last and any other numeral variant come
first (to avoid confusion with a design size).  We recommend but do not
require that the other variants be given in alphabetical order.  (It&rsquo;s
not required because it&rsquo;s too painful to implement the sorting in
TeX, and many existing names already have non-alphabetized variants.)
</p>
<a name="index-letterspacing"></a>
<a name="index-small-caps-fonts"></a>
<p>The letterspacing possibilities introduced by <code>fontinst</code> and
virtual fonts have not yet become sufficiently widespread to make
standardization beneficial.  Likewise for the many possible ways to
generate small caps fonts.
</p>
<p>Notes on specific variants, both old and new:
</p>
<dl compact="compact">
<dt>&lsquo;<samp>1</samp>&rsquo;</dt>
<dt>&lsquo;<samp>4</samp>&rsquo;</dt>
<dt>&lsquo;<samp>6</samp>&rsquo;</dt>
<dt>&lsquo;<samp>b</samp>&rsquo;</dt>
<dd><a name="index-semisans-variant"></a>
<a name="index-semiserif-variant"></a>
<a name="index-fax-variant"></a>
<a name="index-bright-variant"></a>
<p>These variants (&lsquo;semisans&rsquo;, &lsquo;bright&rsquo;, &lsquo;semiserif&rsquo;, and &lsquo;fax&rsquo;) were used
only for single typefaces, so to conserve variant abbreviations, they
now have typeface abbreviations instead.  Also, for &lsquo;<samp>b</samp>&rsquo;, to avoid
too-long names; and for the others, to avoid variant vs. design-size
ambiguities.
</p>
</dd>
<dt>&lsquo;<samp>g</samp>&rsquo;</dt>
<dt>&lsquo;<samp>h</samp>&rsquo;</dt>
<dd><p>Since these variants were not actually used in any font names, they are
now obsolete and may be reassigned in the future.
</p>
</dd>
<dt>&lsquo;<samp>5</samp>&rsquo;</dt>
<dt>&lsquo;<samp>6</samp>&rsquo;</dt>
<dt>&lsquo;<samp>7</samp>&rsquo;</dt>
<dt>&lsquo;<samp>8</samp>&rsquo;</dt>
<dt>&lsquo;<samp>9</samp>&rsquo;</dt>
<dd><a name="index-phonetic-encodings"></a>
<a name="index-Cyrillic-encodings"></a>
<a name="index-7_002dbit-encodings"></a>
<a name="index-8_002dbit-encodings"></a>
<a name="index-expertised-encodings"></a>
<a name="index-SuperFont"></a>
<a name="index-9s-variant"></a>
<p>These characters begin a two-character <em>encoding variant</em>.
Generally, &lsquo;<samp>7</samp>&rsquo; is for 7-bit encodings, &lsquo;<samp>8</samp>&rsquo; is for 8-bit
encodings, and &lsquo;<samp>9</samp>&rsquo; is for expertised encodings with or without
oldstyle digits (see the &lsquo;<samp>x</samp>&rsquo; item below), but this is not an
absolute rule. Also, &lsquo;<samp>5</samp>&rsquo; is presently used for phonetic encodings
and &lsquo;<samp>6</samp>&rsquo; for Cyrillic encodings.  The &lsquo;<samp>9s</samp>&rsquo; (&lsquo;<samp>SuperFont</samp>&rsquo;)
variant contain all of Adobe, Latin 1, and Expert glyphs, perhaps with
slightly different metrics than the original fonts.
</p>
<a name="index-ligatures-and-encodings"></a>
<a name="index-Lslash"></a>
<a name="index-lslash"></a>
<a name="index-T1_002eetx"></a>
<p>For a font to be named with a certain encoding variant, it&rsquo;s not
necessary that all the characters appear in precisely the same positions
as in the encoding definition.  It&rsquo;s enough that the usual TeX macros
work. In practice, this means that it&rsquo;s ok for a font to be labelled
&lsquo;<samp>7t</samp>&rsquo; if the only difference from Computer Modern is that the
ligatures and the &lsquo;<samp>lslash</samp>&rsquo; and &lsquo;<samp>Lslash</samp>&rsquo; characters are
different, since it&rsquo;s impossible to access or change the ligature table
from TeX.  Standard PostScript fonts don&rsquo;t have an &lsquo;<samp>lslash</samp>&rsquo;
character the way Computer Modern does, but they do have the
&lsquo;<samp>Lslash</samp>&rsquo; and &lsquo;<samp>lslash</samp>&rsquo; characters themselves, so the usual
TeX <code>\lslash</code> and <code>\Lslash</code> macros can be made to work via
ligatures.  See the file <samp>T1.etx</samp> file in the <code>fontinst</code>
distribution for details.
</p>
<a name="index-encodings_002c-unspecified"></a>
<a name="index-Afm2tfm-encoding"></a>
<a name="index-LaserJet-4-fonts"></a>
<p>If a name does not contain a specific encoding variant, its encoding is
unspecified.  For example, some of the fonts distributed with Dvips(k)
have names like &lsquo;<samp>ptmr</samp>&rsquo; for &lsquo;<samp>Times-Roman</samp>&rsquo;; they use the Dvips
encoding (see <a href="dvips.html#dvips">dvips</a>), which is close to (but not the same
as) the TeX text encoding (as in Computer Modern Roman).  Similarly,
the TFM files distributed with Dvilj(k) for the builtin LaserJet 4 fonts
have names like &lsquo;<samp>cunm</samp>&rsquo;, since these fonts, while compatible with
TeX text, contain many additional characters.
</p>
</dd>
<dt>&lsquo;<samp>9</samp>&rsquo;</dt>
<dd><p>These items are needed only because &lsquo;<samp>x</samp>&rsquo; (and possibly &lsquo;<samp>j</samp>&rsquo;)
followed by a two-character regular variant makes some names too long.
That is, &lsquo;<samp>9t</samp>&rsquo; is equivalent in meaning to &lsquo;<samp>x7t</samp>&rsquo;, and &lsquo;<samp>9d</samp>&rsquo;
is equivalent to &lsquo;<samp>jx7t</samp>&rsquo;.  (This may not be true for all
&lsquo;<samp>9<var>x</var></samp>&rsquo; encodings, though.)
</p>
</dd>
<dt>&lsquo;<samp>k</samp>&rsquo;</dt>
<dt>&lsquo;<samp>z</samp>&rsquo;</dt>
<dd><a name="index-scripts"></a>
<a name="index-Greek-fonts"></a>
<a name="index-Cyrillic-fonts"></a>
<p>These variants (indicating Greek and Cyrillic fonts, respectively) are
obsolete; future fonts in different scripts should be assigned an
appropriate encoding abbreviation.  These are not currently
standardized, due to ignorance of the appropriate encodings.  Please
send suggestions for abbreviations to the address in <a href="Introduction.html#Introduction">Introduction</a>.
</p>
</dd>
<dt>&lsquo;<samp>m</samp>&rsquo;</dt>
<dt>&lsquo;<samp>v</samp>&rsquo;</dt>
<dt>&lsquo;<samp>y</samp>&rsquo;</dt>
<dd><a name="index-math-variants"></a>
<p>These math-related variants remain for the sake of typeface-specific
math encodings, e.g., Lucida.  Fonts that use the Computer Modern math
encodings should use &lsquo;<samp>7m</samp>&rsquo; (see <a href="texmital.html#texmital">texmital</a>), &lsquo;<samp>7v</samp>&rsquo;
(see <a href="texmext.html#texmext">texmext</a>), and &lsquo;<samp>7y</samp>&rsquo; (see <a href="texmsym.html#texmsym">texmsym</a>).
</p>
</dd>
<dt>&lsquo;<samp>n</samp>&rsquo;</dt>
<dd><a name="index-informal-variant"></a>
<a name="index-schoolbook-variant"></a>
<a name="index-Stone-Informal"></a>
<p>This is used for several different (but very rare) variants: only the
Stone typeface has an &ldquo;informal&rdquo; variant, and only a few Monotype
fonts have a &ldquo;schoolbook&rdquo; variant, with different &lsquo;a&rsquo;, &lsquo;g&rsquo;, and &lsquo;y&rsquo;
shapes.
</p>
</dd>
<dt>&lsquo;<samp>r</samp>&rsquo;</dt>
<dd><p>Included only if no other variants, including encodings, apply, and
either the width (see <a href="Widths.html#Widths">Widths</a>) is not &lsquo;<samp>r</samp>&rsquo; or a design size is
present.  I.e., &lsquo;<samp>r</samp>&rsquo; is only used as a placeholder.  When the normal
version of the typeface is sans serif (e.g., Helvetica), &lsquo;<samp>r</samp>&rsquo; should
be used when necessary, not &lsquo;<samp>s</samp>&rsquo;.  Use &lsquo;<samp>s</samp>&rsquo; only when the
typeface family has both serif and sans serif variants.
</p>
</dd>
<dt>&lsquo;<samp>s</samp>&rsquo;</dt>
<dt>&lsquo;<samp>t</samp>&rsquo;</dt>
<dd><a name="index-typewriter-variant"></a>
<a name="index-sans-variant"></a>
<a name="index-Mittelbach_002c-Frank-2"></a>
<p>Mittelbach in <cite>TUGboat</cite> 13(1) suggests that these variants (for
&lsquo;sans&rsquo; and &lsquo;typewriter&rsquo;) should be identified as part of the typeface
name, because there are few typeface families with these variants.  I
feel that since they are logically variants, it&rsquo;s best to name them that
way.  But &lsquo;<samp>LucidaSans</samp>&rsquo; (see <a href="Typefaces.html#Typefaces">Typefaces</a>) and a few others are
exceptions, to avoid too-long names.
</p>
</dd>
<dt>&lsquo;<samp>x</samp>&rsquo;</dt>
<dt>&lsquo;<samp>8x</samp>&rsquo;</dt>
<dt>&lsquo;<samp>9?</samp>&rsquo;</dt>
<dd><a name="index-expert-encoding"></a>
<a name="index-expertised-font"></a>
<p>&lsquo;<samp>8x</samp>&rsquo; indicates a font in the &lsquo;<samp>Expert</samp>&rsquo; encoding itself.
&lsquo;<samp>x</samp>&rsquo; indicates an <em>expertised</em> font, i.e., a composite (virtual)
font that includes characters from an &lsquo;<samp>8x</samp>&rsquo; font.  And in fact an
&lsquo;<samp>x<var>ee</var></samp>&rsquo; sequence is replaced by &lsquo;<samp>9<var>e</var></samp>&rsquo;, to save
characters.
</p></dd>
</dl>

<a name="index-variant_002emap"></a>
<p>Fontname 1 assignments are shown in brackets in the following table,
from the file <samp>variant.map</samp>.  It is organized alphabetically by
abbreviation.  Each line consists of an abbreviation and either any
parts of a PostScript &lsquo;<samp>FontName</samp>&rsquo; which use that abbreviation or the
PostScript &lsquo;<samp>Encoding</samp>&rsquo; name.
</p>
<div class="example">
<pre class="example">0 inferior
1 superior
2                                   <span class="roman">proportional digits, not tabular</span>
<span class="roman">obsolete [3=&gt;7f] Fraction</span>
<span class="roman">obsolete [4 fax; now typeface &lsquo;<samp>lx</samp>&rsquo;, Lucida Fax]</span>
5 <span class="roman">escape for (presently) phonetic encodings</span>
6 <span class="roman">escape for (mostly) Cyrillic encodings [was &lsquo;<samp>SemiSerif</samp>&rsquo;]</span>
7 <span class="roman">escape for (mostly) 7-bit encodings</span>
8 <span class="roman">escape for (mostly) 8-bit encodings</span>
9 <span class="roman">escape for (presently) expert encodings [was oldstyle digits]</span>
a Alt Arrows Alternative             <span class="roman">[was alternate encoding]</span>
<span class="roman">obsolete [b bright; now typeface lh, Lucida Bright]</span>
c SmallCaps
d Display Titling Caption Headline TallCaps SwashCaps LombardicCaps Festive
e Engraved Copperplate Elite
f Fraktur Gothic OldEnglish Handtooled <span class="roman">(&lsquo;gothic&rsquo; can also be sans)</span>
g SmallText      <span class="roman">lc only, or designed for small sizes [was grooved, as in the IBM logo]</span>
h Shadow
i Italic Kursiv Ital                 <span class="roman">text italic</span>
j                                    <span class="roman">old-style digits [was invisible]</span>
k Greek                              <span class="roman">obsolete</span>
l Outline OpenFace Blanks
m <span class="roman">math italic</span>
n Informal Fashion Schlbk            <span class="roman">for Stone</span>
o Oblique Obl                        <span class="roman">slanted</span>
p Ornaments
<span class="roman">obsolete [q=&gt;8t <span class="roman">Cork (TeX extended) encoding</span>]</span>
r                                    <span class="roman">roman or sans; often omitted, see text</span>
s Gothic                             <span class="roman">sans serif</span>
t Monospace                          <span class="roman">fixed-width typewriter</span>
u                                    <span class="roman">underline or unslanted italic</span>
v MathExtension
w Script Handwritten Swash Calligraphy Cursive Tango Ligature
x <span class="roman">built with Adobe expert encoding [was expert-encoded]</span>
y MathSymbol
z Cyrillic                           <span class="roman">font-dependent Cyrillic</span>
5a PhoneticAlternate
5i PhoneticIPA
5s <span class="roman">sil-IPA</span>
5t TeX-IPA                           <span class="roman">Fukui Rei, LaTeX T3</span>
5w TeXAfricanLatin                   <span class="roman">wsuipa fonts, LaTeX OT3</span>
5z <span class="roman">user</span>
6a <span class="roman">T2A</span>
6b <span class="roman">Cyrillic part of ISO 8859-5, seven bits</span>
6c <span class="roman">T2C</span>
6d <span class="roman">Cyrillic CP866 encoding</span>
6g LGR                               <span class="roman">Greek font encoding</span>
6i <span class="roman">ISO 8859-5</span>
6k <span class="roman">Cyrillic KOI8-R encoding</span>
6m <span class="roman">Cyrillic Macintosh encoding</span>
6s <span class="roman">Storm extra encoding</span>
6t <span class="roman">T2B</span>
6w <span class="roman">Cyrillic CP1251 encoding</span>
6x <span class="roman">X2</span>
6y <span class="roman">LCY</span>
6z user
7a A                                 <span class="roman">alternate characters only</span>
7c Dfr                               <span class="roman">Fraktur</span>
7d OsF OSF                           <span class="roman">oldstyle digit encoding</span>
7f Fraction
7k OT2Cyrillic
7m TeXMathItalicEncoding             <span class="roman">see <a href="texmital.html#texmital">texmital</a></span>
7t                       <span class="roman">TeX text encoding (as in Computer Modern Roman)</span>
7v TeXMathExtensionEncoding          <span class="roman">see <a href="texmext.html#texmext">texmext</a></span>
7y TeXMathSymbolEncoding             <span class="roman">see <a href="texmsym.html#texmsym">texmsym</a></span>
7z user
82 GreekKeys
83 Ibycus1
84 Ibycus2
8a StandardEncoding                  <span class="roman">Adobe standard encoding, see <a href="8a.html#g_t8a">8a</a></span>
8c TeXTextCompanion                  <span class="roman">LaTeX TS1</span>
8e CE                                <span class="roman">Adobe CE</span>
8f TeXAfricanLatin                   <span class="roman">LaTeX T4</span>
8g groff
8i TS0                               <span class="roman">Intersection of TS1/Adobe Standard</span>
8m <span class="roman">Macintosh standard encoding</span>
8n LM1 <span class="roman">Textures</span>
8q encqxoosix                        <span class="roman">QX, from GUST</span>
8r TeXBase1Encoding                  <span class="roman">(see <a href="8r.html#g_t8r">8r</a>)</span>
8t ECEncoding CorkEncoding           <span class="roman">(see <a href="ec.html#ec">ec</a>), aka tex256.enc</span>
8u XT2Encoding                       <span class="roman">cmtt + Latin 2, see <samp>xl2.enc</samp></span>
8v TeXVietnamese                     <span class="roman">T5</span>
8w <span class="roman">Windows 3.1 ANSI encoding</span>
8x Expert                            <span class="roman">expert encoding</span>
8y LY1                               <span class="roman">texnansi</span>
8z XL2Encoding                       <span class="roman">cmr + Latin 2, see <samp>xl2.enc</samp></span>
9c <span class="roman">expert + Text companion</span>
9d <span class="roman">expert + oldstyle digits + Cork</span>
9e <span class="roman">expert + Cork</span>
9i TS0X                              <span class="roman">Intersection of TS1/Standard/Expert</span>
9o <span class="roman">expert + oldstyle digits + TeX text</span>
9s SF                                <span class="roman">SuperFont</span>
9t <span class="roman">expert + TeX text</span>
9u <span class="roman">Unicode-compatible</span>
9x TeXnANSIEncodingX                 <span class="roman">texnansx, texnansi without repeats</span>
9z user
-  songti                            <span class="roman">for mnm</span>
</pre></div>


<hr>
<div class="header">
<p>
Next: <a href="Widths.html#Widths" accesskey="n" rel="next">Widths</a>, Previous: <a href="Weights.html#Weights" accesskey="p" rel="prev">Weights</a>, Up: <a href="Filenames-for-fonts.html#Filenames-for-fonts" accesskey="u" rel="up">Filenames for fonts</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="General-index.html#General-index" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>