Debian Codegraph @

texmf-dist/doc/fonts/fontname/Filenames-for-fonts.html

raw
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:&nbsp;<a name="Filenames%20for%20fonts">Filenames for fonts</a>,
23 Next:&nbsp;<a rel="next" accesskey="n" href="Long-names.html#Long%20names">Long names</a>,
24 Previous:&nbsp;<a rel="previous" accesskey="p" href="Introduction.html#Introduction">Introduction</a>,
25 Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a>
26 <hr><br>
27 </div>
28
29 <h2 class="chapter">Filenames for fonts</h2>
30
31 <p>We must limit ourselves to eight character names, for compatibility with
32 DOS filesystems and the ISO 9660 standard used for CD-ROM distribution.
33 Names may consist of only the letters (monocase a-z), numerals (0-9),
34 and underscore.
35
36 <p>Here is the basic division of the eight characters (the spaces here are
37 merely for readability):
38
39 <pre class="example"> <var>S</var> <var>TT</var> <var>W</var> [<var>V<small class="dots">...</small></var>] [<var>N</var>] [<var>E</var>] [<var>DD</var>]
40 </pre>
41
42 <p>where
43
44 <dl>
45 <dt><var>S</var>
46 <dd>represents the supplier of the font.
47
48 <br><dt><var>TT</var>
49 <dd>represents the typeface name.
50
51 <br><dt><var>W</var>
52 <dd>represents the weight.
53
54 <br><dt><var>V<small class="dots">...</small></var>
55 <dd>represents the variant(s), and is omitted if both it and the width are
56 normal. Many fonts have more than one variant.
57
58 <br><dt><var>N</var>
59 <dd>represents the encoding, and is omitted if the encoding is nonstandard.
60 Encodings are subsumed in the section on variants (see <a href="Variants.html#Variants">Variants</a>).
61
62 <br><dt><var>E</var>
63 <dd>represents the width ("expansion"), and is omitted if
64 it is normal.
65
66 <br><dt><var>DD</var>
67 <dd>represents the design size (in decimal), and is omitted if the font is
68 linearly scaled. Mittelbach in <cite>TUGboat</cite> 13(1) proposes using
69 hexadecimal or base-36 notation. I don't think the increased range
70 makes up for the unreadability of the common sizes (e.g., 10pt
71 fonts would have a suffix <code>a</code> (in hex), or <code>j</code> (in base 36)).
72
73 </dl>
74
75 <p>The weight, variants, and width are probably all best taken from the
76 original name of the font, instead of trying to relate them to some
77 external standard.
78
79 <ul class="menu">
80 <li><a accesskey="1" href="Suppliers.html#Suppliers">Suppliers</a>:
81 <li><a accesskey="2" href="Typefaces.html#Typefaces">Typefaces</a>:
82 <li><a accesskey="3" href="Weights.html#Weights">Weights</a>:
83 <li><a accesskey="4" href="Variants.html#Variants">Variants</a>:
84 <li><a accesskey="5" href="Widths.html#Widths">Widths</a>:
85 </ul>
86
87 </body></html>
88