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
|
<!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: Filenames for fonts</title>
<meta name="description" content="Filenames for TeX fonts: Filenames for fonts">
<meta name="keywords" content="Filenames for TeX fonts: Filenames for fonts">
<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="index.html#Top" rel="up" title="Top">
<link href="Suppliers.html#Suppliers" rel="next" title="Suppliers">
<link href="References.html#References" rel="prev" title="References">
<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="Filenames-for-fonts"></a>
<div class="header">
<p>
Next: <a href="Long-names.html#Long-names" accesskey="n" rel="next">Long names</a>, Previous: <a href="Introduction.html#Introduction" accesskey="p" rel="prev">Introduction</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> [<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="Filenames-for-fonts-1"></a>
<h2 class="chapter">2 Filenames for fonts</h2>
<p>In this scheme, names may consist of only the letters (monocase a-z),
numerals (0-9), and underscore. Having two names which differ only in
case is undesirable, since it results in clashes on common Windows
filesystems.
</p>
<a name="index-filenames_002c-basics"></a>
<p>Here is the basic scheme (the spaces here are merely for readability):
</p>
<div class="example">
<pre class="example"> <var>S</var> <var>TT</var> <var>W</var> [<var>V…</var>] [<var>N</var>] [<var>E</var>] [<var>DD</var>]
</pre></div>
<p>where
</p>
<dl compact="compact">
<dt><var>S</var></dt>
<dd><p>represents the supplier of the font.
</p>
</dd>
<dt><var>TT</var></dt>
<dd><p>represents the typeface name.
</p>
</dd>
<dt><var>W</var></dt>
<dd><p>represents the weight.
</p>
</dd>
<dt><var>V…</var></dt>
<dd><p>represents the variant(s), and is omitted if both it and the width are
normal. Many fonts have more than one variant.
</p>
</dd>
<dt><var>N</var></dt>
<dd><p>represents the encoding, and is omitted if the encoding is nonstandard.
Encodings are subsumed in the section on variants (see <a href="Variants.html#Variants">Variants</a>).
</p>
</dd>
<dt><var>E</var></dt>
<dd><p>represents the width (“expansion”), and is omitted if
it is normal.
</p>
</dd>
<dt><var>DD</var></dt>
<dd><a name="index-design-size-specification"></a>
<a name="index-hexadecimal-design-size"></a>
<a name="index-font-scaling"></a>
<a name="index-Mittelbach_002c-Frank-1"></a>
<p>represents the design size (in decimal), and is omitted if the font is
linearly scaled. Mittelbach in <cite>TUGboat</cite> 13(1) proposes using
hexadecimal or base-36 notation. In my opinion, the increased range
does not make up for the unreadability of the common sizes (e.g.,
10pt fonts would have a suffix ‘<samp>a</samp>’ (in hex), or ‘<samp>j</samp>’
(in base 36)).
</p>
</dd>
</dl>
<p>We used to try to limit font names to eight characters. This was
never completely possible, and since DOS filesystems have become rare,
it’s no longer an issue.
</p>
<p>The weight, variants, and width are probably all best taken from the
original name of the font, instead of trying to relate them to some
external standard.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top">• <a href="Suppliers.html#Suppliers" accesskey="1">Suppliers</a>:</td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top">• <a href="Typefaces.html#Typefaces" accesskey="2">Typefaces</a>:</td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top">• <a href="Weights.html#Weights" accesskey="3">Weights</a>:</td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top">• <a href="Variants.html#Variants" accesskey="4">Variants</a>:</td><td> </td><td align="left" valign="top">
</td></tr>
<tr><td align="left" valign="top">• <a href="Widths.html#Widths" accesskey="5">Widths</a>:</td><td> </td><td align="left" valign="top">
</td></tr>
</table>
<hr>
<div class="header">
<p>
Next: <a href="Long-names.html#Long-names" accesskey="n" rel="next">Long names</a>, Previous: <a href="Introduction.html#Introduction" accesskey="p" rel="prev">Introduction</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> [<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>
|