| 1 |
<html lang="en"> |
| 2 |
<head> |
| 3 |
<title>Filenames for TeX fonts</title> |
| 4 |
<meta http-equiv="Content-Type" content="text/html"> |
| 5 |
<meta name="description" content="Filenames for TeX fonts"> |
| 6 |
<meta name="generator" content="makeinfo 4.6"> |
| 7 |
<!-- |
| 8 |
This document is in the public domain and may be used freely.--> |
| 9 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
| 10 |
<style type="text/css"><!-- |
| 11 |
pre.display { font-family:inherit } |
| 12 |
pre.format { font-family:inherit } |
| 13 |
pre.smalldisplay { font-family:inherit; font-size:smaller } |
| 14 |
pre.smallformat { font-family:inherit; font-size:smaller } |
| 15 |
pre.smallexample { font-size:smaller } |
| 16 |
pre.smalllisp { font-size:smaller } |
| 17 |
--></style> |
| 18 |
</head> |
| 19 |
<body> |
| 20 |
<div class="node"> |
| 21 |
<p> |
| 22 |
Node: <a name="Variants">Variants</a>, |
| 23 |
Next: <a rel="next" accesskey="n" href="Widths.html#Widths">Widths</a>, |
| 24 |
Previous: <a rel="previous" accesskey="p" href="Weights.html#Weights">Weights</a>, |
| 25 |
Up: <a rel="up" accesskey="u" href="Filenames-for-fonts.html#Filenames%20for%20fonts">Filenames for fonts</a> |
| 26 |
<hr><br> |
| 27 |
</div> |
| 28 |
|
| 29 |
<h3 class="section">Variants</h3> |
| 30 |
|
| 31 |
<p><dfn>Variants</dfn> include typeface variations (e.g., italic, sans serif), |
| 32 |
and font encodings (e.g., Adobe standard, TeX text). |
| 33 |
|
| 34 |
<p>A fontname may require multiple variants. To resolve the worst |
| 35 |
ambiguities, we specify that any encoding variant (<code>7</code>, <code>8</code>, |
| 36 |
or <code>9</code>, see below) come last and any other numeral variant come |
| 37 |
first (to avoid confusion with a design size). We recommend but do not |
| 38 |
require that the other variants be given in alphabetical order. (It's |
| 39 |
not required because it's too painful to implement the sorting in |
| 40 |
TeX, and many existing names already have non-alphabetized variants.) |
| 41 |
|
| 42 |
<p>The letterspacing possibilities introduced by <code>fontinst</code> and |
| 43 |
virtual fonts have not yet become sufficiently widespread to make |
| 44 |
standardization beneficial. Likewise for the many possible ways to |
| 45 |
generate small caps fonts. |
| 46 |
|
| 47 |
<p>Notes on specific variants, both old and new: |
| 48 |
|
| 49 |
<dl> |
| 50 |
<dt><code>1</code> |
| 51 |
<dd><dt><code>4</code> |
| 52 |
<dd><dt><code>6</code> |
| 53 |
<dd><dt><code>b</code> |
| 54 |
<dd>These variants (`semisans', `bright', `semiserif', and `fax') were used |
| 55 |
only for single typefaces, so to conserve variant abbreviations, they |
| 56 |
now have typeface abbreviations instead. Also, for <code>b</code>, to avoid |
| 57 |
too-long names; and for the others, to avoid variant vs. design-size |
| 58 |
ambiguities. |
| 59 |
|
| 60 |
<br><dt><code>g</code> |
| 61 |
<dd><dt><code>h</code> |
| 62 |
<dd>Since these variants were not actually used in any font names, they are |
| 63 |
now obsolete and may be reassigned in the future. |
| 64 |
|
| 65 |
<br><dt><code>5</code> |
| 66 |
<dd><dt><code>6</code> |
| 67 |
<dd><dt><code>7</code> |
| 68 |
<dd><dt><code>8</code> |
| 69 |
<dd><dt><code>9</code> |
| 70 |
<dd>These characters begin a two-character <dfn>encoding variant</dfn>. |
| 71 |
Generally, <code>7</code> is for 7-bit encodings, <code>8</code> is for 8-bit |
| 72 |
encodings, and <code>9</code> is for expertised encodings with or without |
| 73 |
oldstyle digits (see the <code>x</code> item below), but this is not an |
| 74 |
absolute rule. Also, <code>5</code> is presently used for phonetic encodings |
| 75 |
and <code>6</code> for Cyrillic encodings. The <code>9s</code> (<code>SuperFont</code>) |
| 76 |
variant contain all of Adobe, Latin 1, and Expert glyphs, perhaps with |
| 77 |
slightly different metrics than the original fonts. |
| 78 |
|
| 79 |
<p>For a font to be named with a certain encoding variant, it's not |
| 80 |
necessary that all the characters appear in precisely the same positions |
| 81 |
as in the encoding definition. It's enough that the usual TeX macros |
| 82 |
work. In practice, this means that it's ok for a font to be labelled |
| 83 |
<code>7t</code> if the only difference from Computer Modern is that the |
| 84 |
ligatures and the <code>lslash</code> and <code>Lslash</code> characters are |
| 85 |
different, since it's impossible to access or change the ligature table |
| 86 |
from TeX. Standard PostScript fonts don't have an <code>lslash</code> |
| 87 |
character the way Computer Modern does, but they do have the |
| 88 |
<code>Lslash</code> and <code>lslash</code> characters themselves, so the usual |
| 89 |
TeX <code>\lslash</code> and <code>\Lslash</code> macros can be made to work via |
| 90 |
ligatures. See the file <code>T1.etx</code> file in the <code>fontinst</code> |
| 91 |
distribution for details. |
| 92 |
|
| 93 |
<p>If a name does not contain a specific encoding variant, its encoding is |
| 94 |
unspecified. For example, some of the fonts distributed with Dvips(k) |
| 95 |
have names like <code>ptmr</code> for <code>Times-Roman</code>; they use the Dvips |
| 96 |
encoding (see <a href="dvips.html#dvips">dvips</a>), which is close to (but not the same |
| 97 |
as) the TeX text encoding (as in Computer Modern Roman). Similarly, |
| 98 |
the TFM files distributed with Dvilj(k) for the builtin LaserJet 4 fonts |
| 99 |
have names like <code>cunm</code>, since these fonts, while compatible with |
| 100 |
TeX text, contain many additional characters. |
| 101 |
|
| 102 |
<br><dt><code>9</code> |
| 103 |
<dd>These items are needed only because <code>x</code> (and possibly <code>j</code>) |
| 104 |
followed by a two-character regular variant makes some names too long. |
| 105 |
That is, <code>9t</code> is equivalent in meaning to <code>x7t</code>, and <code>9d</code> |
| 106 |
is equivalent to <code>jx7t</code>. (This may not be true for all |
| 107 |
<code>9</code><var>x</var><code></code> encodings, though.) |
| 108 |
|
| 109 |
<br><dt><code>k</code> |
| 110 |
<dd><dt><code>z</code> |
| 111 |
<dd>These variants (indicating Greek and Cyrillic fonts, respectively) are |
| 112 |
obsolete; future fonts in different scripts should be assigned an |
| 113 |
appropriate encoding abbreviation. These are not currently |
| 114 |
standardized, due to ignorance of the appropriate encodings. Please |
| 115 |
send suggestions for abbreviations to the address in <a href="Introduction.html#Introduction">Introduction</a>. |
| 116 |
|
| 117 |
<br><dt><code>m</code> |
| 118 |
<dd><dt><code>v</code> |
| 119 |
<dd><dt><code>y</code> |
| 120 |
<dd>These math-related variants remain for the sake of typeface-specific |
| 121 |
math encodings, e.g., Lucida. Fonts that use the Computer Modern math |
| 122 |
encodings should use <code>7m</code> (see <a href="texmital.html#texmital">texmital</a>), <code>7v</code> |
| 123 |
(see <a href="texmext.html#texmext">texmext</a>), and <code>7y</code> (see <a href="texmsym.html#texmsym">texmsym</a>). |
| 124 |
|
| 125 |
<br><dt><code>n</code> |
| 126 |
<dd>This is used for several different (but very rare) variants: only the |
| 127 |
Stone typeface has an "informal" variant, and only a few Monotype |
| 128 |
fonts have a "schoolbook" variant, with different `a', `g', and `y' |
| 129 |
shapes. |
| 130 |
|
| 131 |
<br><dt><code>r</code> |
| 132 |
<dd>Included only if no other variants, including encodings, apply, and |
| 133 |
either the width (see <a href="Widths.html#Widths">Widths</a>) is not <code>r</code> or a design size is |
| 134 |
present. I.e., <code>r</code> is only used as a placeholder. When the normal |
| 135 |
version of the typeface is sans serif (e.g., Helvetica), <code>r</code> should |
| 136 |
be used when necessary, not <code>s</code>. Use <code>s</code> only when the |
| 137 |
typeface family has both serif and sans serif variants. |
| 138 |
|
| 139 |
<br><dt><code>s</code> |
| 140 |
<dd><dt><code>t</code> |
| 141 |
<dd>Mittelbach in <cite>TUGboat</cite> 13(1) suggests that these variants (for |
| 142 |
`sans' and `typewriter') should be identified as part of the typeface |
| 143 |
name, because there are few typeface families with these variants. I |
| 144 |
feel that since they are logically variants, it's best to name them that |
| 145 |
way. But <code>LucidaSans</code> (see <a href="Typefaces.html#Typefaces">Typefaces</a>) and a few others are |
| 146 |
exceptions, to avoid too-long names. |
| 147 |
|
| 148 |
<br><dt><code>x</code> |
| 149 |
<dd><dt><code>8x</code> |
| 150 |
<dd><dt><code>9?</code> |
| 151 |
<dd><code>8x</code> indicates a font in the <code>Expert</code> encoding itself. |
| 152 |
<code>x</code> indicates an <dfn>expertised</dfn> font, i.e., a composite (virtual) |
| 153 |
font that includes characters from an <code>8x</code> font. And in fact an |
| 154 |
<code>x</code><var>ee</var><code></code> sequence is replaced by <code>9</code><var>e</var><code></code>, to save |
| 155 |
characters. |
| 156 |
</dl> |
| 157 |
|
| 158 |
<p>Fontname 1 assignments are shown in brackets in the following table, |
| 159 |
from the file <code>variant.map</code>. It is organized alphabetically by |
| 160 |
abbreviation. Each line consists of an abbreviation and either any |
| 161 |
parts of a PostScript <code>FontName</code> which use that abbreviation or the |
| 162 |
PostScript <code>Encoding</code> name. |
| 163 |
|
| 164 |
<pre class="example"> |
| 165 |
|
| 166 |
0 inferior |
| 167 |
1 superior |
| 168 |
obsolete [2=>7c] Fraktur encoding |
| 169 |
obsolete [3=>7f] Fraction |
| 170 |
obsolete [4 fax; now typeface <code>lx</code>, Lucida Fax] |
| 171 |
5 escape for (presently) phonetic encodings |
| 172 |
6 escape for Cyrillic encodings [was <code>SemiSerif</code>] |
| 173 |
7 escape for (mostly) 7-bit encodings |
| 174 |
8 escape for (mostly) 8-bit encodings |
| 175 |
9 escape for (presently) expert encodings [was oldstyle digits] |
| 176 |
a Alt Arrows Alternative [was alternate encoding] |
| 177 |
obsolete [b bright; now typeface lh, Lucida Bright] |
| 178 |
c SmallCaps |
| 179 |
d Display Titling Caption Headline TallCaps SwashCaps LombardicCaps Festive |
| 180 |
e Engraved Copperplate Elite |
| 181 |
f Fraktur Gothic OldEnglish Handtooled (`gothic' can also be sans) |
| 182 |
g SmallText designed for small sizes [was grooved, as in the IBM logo] |
| 183 |
h Shadow |
| 184 |
i Italic Kursiv Ital text italic |
| 185 |
j old-style digits [was invisible] |
| 186 |
k Greek obsolete |
| 187 |
l Outline OpenFace Blanks |
| 188 |
m math italic |
| 189 |
n Informal Fashion Schlbk for Stone |
| 190 |
o Oblique Obl slanted |
| 191 |
p Ornaments |
| 192 |
obsolete [q=>8t Cork (TeX extended) encoding] |
| 193 |
r roman or sans; often omitted, see text |
| 194 |
s Gothic sans serif |
| 195 |
t Monospace fixed-width typewriter |
| 196 |
u unslanted italic |
| 197 |
v MathExtension |
| 198 |
w Script Handwritten Swash Calligraphy Cursive Tango |
| 199 |
x built with Adobe expert encoding [was expert-encoded] |
| 200 |
y MathSymbol |
| 201 |
z Cyrillic font-dependent Cyrillic |
| 202 |
5a PhoneticAlternate |
| 203 |
5i PhoneticIPA |
| 204 |
5s sil-IPA |
| 205 |
5t TeX-IPA Fukui Rei, LaTeX T3 |
| 206 |
5w TeXAfricanLatin wsuipa fonts, LaTeX OT3 |
| 207 |
5z user |
| 208 |
6a T2A |
| 209 |
6b Cyrillic part of ISO 8859-5, seven bits |
| 210 |
6c T2C |
| 211 |
6d Cyrillic CP866 encoding |
| 212 |
6i ISO 8859-5 |
| 213 |
6k Cyrillic KOI8-R encoding |
| 214 |
6m Cyrillic Macintosh encoding |
| 215 |
6s Storm extra encoding |
| 216 |
6t T2B |
| 217 |
6w Cyrillic CP1251 encoding |
| 218 |
6x X2 |
| 219 |
6y LCY |
| 220 |
6z user |
| 221 |
7a A alternate characters only |
| 222 |
7c Dfr Fraktur |
| 223 |
7d OsF OSF oldstyle digit encoding |
| 224 |
7f Fraction |
| 225 |
7k OT2Cyrillic |
| 226 |
7m TeXMathItalicEncoding see <a href="texmital.html#texmital">texmital</a> |
| 227 |
7t TeX text encoding (as in Computer Modern Roman) |
| 228 |
7v TeXMathExtensionEncoding see <a href="texmext.html#texmext">texmext</a> |
| 229 |
7y TeXMathSymbolEncoding see <a href="texmsym.html#texmsym">texmsym</a> |
| 230 |
7z user |
| 231 |
82 GreekKeys |
| 232 |
83 Ibycus1 |
| 233 |
84 Ibycus2 |
| 234 |
8a StandardEncoding Adobe standard encoding, see <a href="8a.html#8a">8a</a> |
| 235 |
8c TeXTextCompanion LaTeX TS1 |
| 236 |
8f TeXAfricanLatin LaTeX T4 |
| 237 |
8i TS0 Intersection of TS1/Adobe Standard |
| 238 |
8m Macintosh standard encoding |
| 239 |
8n LM1 Textures |
| 240 |
8r TeXBase1Encoding see <a href="8r.html#8r">8r</a> |
| 241 |
8t CorkEncoding see <a href="cork.html#cork">cork</a> |
| 242 |
8u XT2Encoding cmtt + Latin 2, see <code>xl2.enc</code> |
| 243 |
8v TeXVietnamese to be defined |
| 244 |
8w Windows 3.1 ANSI encoding |
| 245 |
8x Expert expert encoding |
| 246 |
8y LY1 TeX 'n ANSI |
| 247 |
8z XL2Encoding cmr + Latin 2, see <code>xl2.enc</code> |
| 248 |
9c expert + Text companion |
| 249 |
9d expert + oldstyle digits + Cork |
| 250 |
9e expert + Cork |
| 251 |
9i TS0X Intersection of TS1/Standard/Expert |
| 252 |
9o expert + oldstyle digits + TeX text |
| 253 |
9s SF SuperFont |
| 254 |
9t expert + TeX text |
| 255 |
9z user |
| 256 |
- songti for mnm |
| 257 |
</pre> |
| 258 |
|
| 259 |
</body></html> |
| 260 |
|