iAdd manpage section about using non-default fonts. - enscript - GNU Enscript Err thinkerwim.openbsd.amsterdam 70 hgit clone git://thinkerwim.org/enscript.git URL:git://thinkerwim.org/enscript.git thinkerwim.org 70 1Log /git/enscript/log.gph thinkerwim.org 70 1Files /git/enscript/files.gph thinkerwim.org 70 1Refs /git/enscript/refs.gph thinkerwim.org 70 1README /git/enscript/file/README.gph thinkerwim.org 70 1LICENSE /git/enscript/file/COPYING.gph thinkerwim.org 70 i--- Err thinkerwim.openbsd.amsterdam 70 1commit 8683fe10ef3968ca68ac7051ddfa97e84ac6bad9 /git/enscript/commit/8683fe10ef3968ca68ac7051ddfa97e84ac6bad9.gph thinkerwim.org 70 1parent eadf22e7bb86de4971c6c57592a2aadfd1766f2d /git/enscript/commit/eadf22e7bb86de4971c6c57592a2aadfd1766f2d.gph thinkerwim.org 70 hAuthor: Max Cantor URL:mailto:max@maxcantor.net thinkerwim.org 70 iDate: Sun, 7 Oct 2012 15:31:07 -0700 Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iAdd manpage section about using non-default fonts. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iDiffstat: Err thinkerwim.openbsd.amsterdam 70 i M docs/enscript.man | 15 +++++++++++++++ Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i1 file changed, 15 insertions(+), 0 deletions(-) Err thinkerwim.openbsd.amsterdam 70 i--- Err thinkerwim.openbsd.amsterdam 70 1diff --git a/docs/enscript.man b/docs/enscript.man /git/enscript/file/docs/enscript.man.gph thinkerwim.org 70 i@@ -192,6 +192,10 @@ font and its size in PostScript points. For example, Err thinkerwim.openbsd.amsterdam 70 i "\f3Times\-Roman12\f1" selects the "Times\-Roman" font with size Err thinkerwim.openbsd.amsterdam 70 i 12pt. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i+The name of the font must appear in @DATADIR@/enscript/font.map and Err thinkerwim.openbsd.amsterdam 70 i+have a corresponding AFM file. See section \f3USING NEW FONTS\f1 for Err thinkerwim.openbsd.amsterdam 70 i+information on adding a font beyond the defaults. Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i The font specification \f2name\f1 can also be given in format Err thinkerwim.openbsd.amsterdam 70 i `\f2name\f1@\f2ptsize\f1', where the name of the font and its point Err thinkerwim.openbsd.amsterdam 70 i size are separated by a `@' character. This allows \f3enscript\f1 to use Err thinkerwim.openbsd.amsterdam 70 i@@ -1387,6 +1391,17 @@ some characters were unprintable Err thinkerwim.openbsd.amsterdam 70 i ~/.enscript/ personal resource directory Err thinkerwim.openbsd.amsterdam 70 i .fi Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i+.SH USING NEW FONTS Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i+If you instruct enscript to use a font whose name does not appear in the Err thinkerwim.openbsd.amsterdam 70 i+font map, it will give the warning "couldn't open AFM file for font". Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i+To create an AFM file for a TrueType font, you can use \f3ttf2pt1\f1. Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i+Once you create the AFM file, you must add it to the font map. Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i+To generate a new font map automatically, use \f3mkafmmap\f1. Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i .SH SEE ALSO Err thinkerwim.openbsd.amsterdam 70 i diffpp(1), ghostview(1), gs(1), lpq(1), lpr(1), lprm(1), states(1) Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 .