[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: quick ghoscript font question



Alvin Oga <aoga@Maggie.Linux-Consulting.com> writes:
AO> gzip foo.pcf
AO> cp   foo.pcf.gz  /usr/local/fonts
AO> mkfontsdir /usr/local/fonts
AO> xset +fp /usr/local/fonts
AO> xset fp rehash
AO> xlsfonts | grep foo
AO> 
AO> gs document_with_that_fonts.ps
AO> 
AO> if it works... add that path to your /etc/X11/XF86Config

Not to be picky or anything, but whether or not a font is available to
X has *absolutely no bearing* as to whether Ghostscript likes it or
not.  Ghostscript won't magically recognize X fonts; the various
Postscript previewers based on Ghostscript will correctly render
Ghostscript fonts in complete ignorance of X's font scheme.

By way of useful advice, though, I'd read through
/usr/share/doc/gs/Fonts.htm.  The "Adding your own fonts" section
mentions how to convert a BDF bitmap font to a Type 1 font; I'm not
clear if a PCF font can readily be converted to BDF, though (the other
direction appears to be possible).

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: