2 <title>psfonts(1) - Plan 9 from User Space</title>
3 <meta content="text/html; charset=utf-8" http-equiv=Content-Type>
6 <table border=0 cellpadding=0 cellspacing=0 width=100%>
9 <tr><td width=20><td><b>PSFONTS(1)</b><td align=right><b>PSFONTS(1)</b>
10 <tr><td width=20><td colspan=2>
12 <p><font size=+1><b>NAME </b></font><br>
14 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
16 psfonts, psdownload – add necessary fonts to PostScript document
20 <p><font size=+1><b>SYNOPSIS </b></font><br>
22 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
24 <tt><font size=+1>psfonts</font></tt> [ <i>files ...</i> ]
25 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
27 <tt><font size=+1>psdownload</font></tt> [ <tt><font size=+1>options</font></tt> ] [ <i>files ...</i> ]<br>
30 <p><font size=+1><b>DESCRIPTION </b></font><br>
32 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
34 Plan 9’s <a href="../man1/troff.html"><i>troff</i>(1)</a> and <a href="../man1/tr2post.html"><i>tr2post</i>(1)</a> use non-standard PostScript fonts
35 (found in <tt><font size=+1>/usr/local/plan9/postscript/font</font></tt>). Before sending PostScript
36 output from <i>tr2post</i> to a standard printer, code implementing the
37 non-standard fonts must be added to the PostScript.
38 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
40 <i>Psfonts</i> copies <i>files</i> (or standard input) to standard output, adding
41 necessary PostScript fonts.
42 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
44 <i>Psdownload</i> is the more general program used to implement <i>psfonts</i>.
46 <tt><font size=+1>−c</font></tt> <i>comment<br>
48 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
50 Expect the fonts used in the document to be listed in a comment
51 beginning with this string (default <tt><font size=+1>%%DocumentFonts:</font></tt>).<br>
54 <tt><font size=+1>−f</font></tt> <i>atend<br>
56 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
58 Expect extra fonts comments at the end of the document, so read
59 the entire input before starting output (by default this only
60 happens if a <tt><font size=+1>%%DocumentFonts: (atend)</font></tt> comment is encountered).<br>
63 <tt><font size=+1>−m</font></tt> <i>mapfile<br>
65 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
67 Use <i>mapfile</i> to translate from PostScript font names to files.
68 Each line in the map has two white space-separated fields: a font
69 name and the corresponding file. If <i>mapfile</i> is not a rooted path,
70 it is evaluated relative to the <i>fontdir</i> (see <tt><font size=+1>−H</font></tt> below).<br>
73 <tt><font size=+1>−p</font></tt> <i>printer<br>
75 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
77 Set the name of the printer. This option is deprecated. Its only
78 effect is to override the <tt><font size=+1>−r</font></tt> option, causing <i>fontdir</i><tt><font size=+1>/printers/</font></tt><i>printer</i>
79 to be used as the resident fonts list.<br>
82 <tt><font size=+1>−r</font></tt> <i>residentfonts<br>
84 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
86 Read a list of fonts assumed to be on the printer (not necessary
87 to re-download) from the file <i>residentfonts</i>. If <i>residentfonts</i>
88 is not a rooted path, it is evaluated relative to the <i>fontdir</i>
89 (see <tt><font size=+1>−H</font></tt> below).<br>
92 <tt><font size=+1>−H</font></tt> <i>fontdir<br>
94 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
96 Set the directory that is assumed to contain the PostScript fonts
97 and information about printers (see <tt><font size=+1>−m</font></tt>, <tt><font size=+1>−p</font></tt>, and <tt><font size=+1>−r</font></tt> above; default
98 <tt><font size=+1>/usr/local/plan9/postscript/font</font></tt>).<br>
101 <tt><font size=+1>−T</font></tt> <i>tmpdir<br>
103 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
105 Use <i>tmpdir</i> for storing temporary files (default <tt><font size=+1>/var/tmp</font></tt>).<br>
108 <tt><font size=+1>−D</font></tt> Produce copious amounts of debugging information on standard
110 <tt><font size=+1>−I</font></tt> Continue running even after fatal errors occur.<br>
113 <p><font size=+1><b>EXAMPLE </b></font><br>
115 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
117 See <a href="../man1/tr2post.html"><i>tr2post</i>(1)</a> for an example.<br>
120 <p><font size=+1><b>SOURCE </b></font><br>
122 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
124 <tt><font size=+1>/usr/local/plan9/bin/psfonts<br>
125 /usr/local/plan9/src/cmd/postscript/download<br>
128 <p><font size=+1><b>SEE ALSO </b></font><br>
130 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
132 <a href="../man1/troff.html"><i>troff</i>(1)</a>, <a href="../man1/tr2post.html"><i>tr2post</i>(1)</a><br>
140 <table border=0 cellpadding=0 cellspacing=0 width=100%>
141 <tr height=15><td width=10><td><td width=10>
144 <a href="../../"><img src="../../dist/spaceglenda100.png" alt="Space Glenda" border=1></a>