summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/fontname/Widths.html
blob: 373fb64c40a466a86466ceb24b1c6ee8094c79f0 (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
<html lang="en">
<head>
<title>Filenames for TeX fonts</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Filenames for TeX fonts">
<meta name="generator" content="makeinfo 4.6">
<!--
This document is in the public domain and may be used freely.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
--></style>
</head>
<body>
<div class="node">
<p>
Node:&nbsp;<a name="Widths">Widths</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Variants.html#Variants">Variants</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Filenames-for-fonts.html#Filenames%20for%20fonts">Filenames for fonts</a>
<hr><br>
</div>

<h3 class="section">Widths</h3>

<p>The <dfn>width</dfn> of a font specifies the compression or expansion of the
font.  Arranged from narrowest to widest (more or less):

<pre class="display">     ultra compressed, extra condensed, compressed, condensed, narrow
     regular
     extended, expanded, wide
     </pre>

   <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 `Extended' or `Expanded' or `Condensed' or `Narrow' 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 <code>n</code> and
<code>e</code>.

   <p>Here is the table, from the file <code>width.map</code>.  It is organized
alphabetically by abbreviation.  Each line consists of an abbreviation
and any parts of a PostScript <code>FontName</code> which use that
abbreviation.

<pre class="example">

     c Condensed Cond
     e Expanded
     n Narrow
     o UltraCondensed
     p Compressed Compact
     q ExtraCompressed ExtraCondensed
     r Normal Medium Regular (usually omitted)
     t Thin
     u UltraCompressed
     v ExtraExpanded more than <tt>Expanded</tt>, less than <tt>Wide</tt>
     w Wide
     x Extended Elongated
     </pre>

   </body></html>