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

Re: quick ghoscript font question



hi ya david

yes... if gs ignore the fonts... ooppps.....

donno if gs required bdf or pcf...etc...

gs does seem to have a font varible:
	GS_LIB_DEFAULT

	and can look in
	/usr/lib/ghostscript/fonts

i donno if one can copy fonts into those directories
and have gs understand it...

i've not had problems with gs.... lately...but than
again.. i tend not to use/view ps formated files..

lots to play with to get it working..

oh well... if gs works...good... if it doesnt...
time to google search for font conversion tools 
	pcftobdf (?)
	bdftopcf

have fun linux
alvin


On Thu, 22 Nov 2001, David Z Maze wrote:

> 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/



Reply to: