summaryrefslogtreecommitdiff
path: root/info/fontname/html/Widths.html
blob: 923be8a7cc34629de2c2f43a0e77ce226e90c671 (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
<!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: Widths</title>

<meta name="description" content="Filenames for TeX fonts: Widths">
<meta name="keywords" content="Filenames for TeX fonts: Widths">
<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="Long-names.html#Long-names" rel="next" title="Long names">
<link href="Variants.html#Variants" rel="prev" title="Variants">
<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="Widths"></a>
<div class="header">
<p>
Previous: <a href="Variants.html#Variants" accesskey="p" rel="prev">Variants</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="Widths-1"></a>
<h3 class="section">2.5 Widths</h3>

<a name="index-widths"></a>
<a name="index-compression"></a>
<a name="index-expansion"></a>

<p>The <em>width</em> of a font specifies the compression or expansion of the
font.  Arranged from narrowest to widest (more or less):
</p>
<div class="display">
<pre class="display">ultra compressed, extra condensed, compressed, condensed, narrow
regular
semiextended, extended, expanded, wide
</pre></div>

<a name="index-automatic-expansion"></a>
<a name="index-character-scaling_002c-automatic"></a>
<p>Expansion or compression of fonts is sometimes done automatically (as by
the PostScript <code>scale</code> operator), and sometimes done by humans.  In
the latter case, the human will also presumably choose a font name which
includes &lsquo;Extended&rsquo; or &lsquo;Expanded&rsquo; or &lsquo;Condensed&rsquo; or &lsquo;Narrow&rsquo; or whatever
according to their own preferences; the abbreviation can follow along.
When creating a new synthetically expanded or compressed font for use
with TeX, e.g., with Afm2tfm or <code>fontinst</code>, use &lsquo;<samp>n</samp>&rsquo; and
&lsquo;<samp>e</samp>&rsquo;.
</p>
<a name="index-width_002emap"></a>
<p>Here is the table, from the file <samp>width.map</samp>.  It is organized
alphabetically by abbreviation.  Each line consists of an abbreviation
and any parts of a PostScript &lsquo;<samp>FontName</samp>&rsquo; which use that
abbreviation.
</p>
<div class="example">
<pre class="example">c Condensed Cond
e Expanded
n Narrow Semicondensed
o UltraCondensed
p Compressed Compact
q ExtraCompressed ExtraCondensed
r Normal Medium Regular <span class="roman">(usually omitted)</span>
t Thin
u UltraCompressed
v ExtraExpanded <span class="roman">more than <tt>Expanded</tt>, less than <tt>Wide</tt></span>
w Wide
x Extended Elongated
y Semiexpanded
</pre></div>





</body>
</html>