Automake 1.12 and up no longer supports pre-ANSI
[enscript.git] / docs / enscript.man
index 066d6dc..7b92eb9 100644 (file)
@@ -157,7 +157,7 @@ For example, the command
 
 prints file foo.txt in duplex (two side) mode.
 
-Page device operators are implementation dependant but they are
+Page device operators are implementation dependent but they are
 standardized.  See section \f3PAGE DEVICE OPTIONS\f1 for the details.
 .TP 8
 .B \-e\f1[\f2char\f1]\f3, \-\-escapes\f1[\f3=\f2char\f1]\f3
@@ -192,6 +192,10 @@ font and its size in PostScript points.  For example,
 "\f3Times\-Roman12\f1" selects the "Times\-Roman" font with size
 12pt.
 
+The name of the font must appear in @DATADIR@/enscript/font.map and
+have a corresponding AFM file. See section \f3USING NEW FONTS\f1 for
+information on adding a font beyond the defaults.
+
 The font specification \f2name\f1 can also be given in format
 `\f2name\f1@\f2ptsize\f1', where the name of the font and its point
 size are separated by a `@' character.  This allows \f3enscript\f1 to use
@@ -336,7 +340,7 @@ size + baselineskip\f1) points down.  The default baseline skip is 1.
 Pass a statusdict definition to the generated PostScript output.  If
 no value is given, the key \f2key\f1 is removed from the definitions.
 
-The statusdict operators are implementation dependant; see the
+The statusdict operators are implementation dependent; see the
 printer's documentation for the details.
 
 For example, the command
@@ -737,7 +741,7 @@ various resources.  The default path is:
 the user's home directory.
 .TP 8
 .B MarkWrappedLines: \f2style\f3
-Mark wraped lines in the output with the style \f2style\f1.  The
+Mark wrapped lines in the output with the style \f2style\f1.  The
 possible values for the \f2format\f1 are the same which can be given
 for the \f3\-\-mark\-wrapped\-lines\f1 option.
 .TP 8
@@ -1325,7 +1329,7 @@ Print file \f3foo.txt\f1 to two columns.
 Print file to two columns and rotate output 90 degrees (landscape).
 .TP 8
 .B enscript \-DDuplex:true foo.txt
-Print file in duplex (two side) mode (printer dependant).
+Print file in duplex (two side) mode (printer dependent).
 .TP 8
 .B enscript \-G2rE \-U2 foo.c
 My default code printing command: gaudy header, two columns,
@@ -1387,6 +1391,17 @@ some characters were unprintable
 ~/.enscript/                           personal resource directory
 .fi
 
+.SH USING NEW FONTS
+
+If you instruct enscript to use a font whose name does not appear in the
+font map, it will give the warning "couldn't open AFM file for font".
+
+To create an AFM file for a TrueType font, you can use \f3ttf2pt1\f1.
+
+Once you create the AFM file, you must add it to the font map.
+
+To generate a new font map automatically, use \f3mkafmmap\f1.
+
 .SH SEE ALSO
 diffpp(1), ghostview(1), gs(1), lpq(1), lpr(1), lprm(1), states(1)