[PATCH]

Michael Goffioul goffioul at imec.be
Wed Jul 2 14:33:56 CEST 2003


> Specifically, it appears that even if the GS_LIB and GS_FONTPATH are
> correctly set when: "pstoraster" calls GhostScript that the fonts are not
> printed correctly.

pstoraster uses the FontPath entry defined in the CUPS configuration
file to specify the font paths used by the rasterizer. By default, the
font path is /usr/share/cups/fonts. However, the widely used Foomatic
printer driver DB uses its own rasterizer based on gs, and although
I'm not sure about the following, it looks like this rasterizer does
not redefine GS_LIB (as pstoraster does), such that the font path is
the default one under the user used to run the print process (which
is different from the user that sent the print job).
Finally, there's a plan to support fontconfig in future CUPS-1.2.

References:
http://cvs.easysw.com/cvsweb.cgi/cups/pstoraster/pstoraster?rev=1.3&content-type=text/x-cvsweb-markup
http://www.linuxprinting.org/cvsweb.cgi/foomatic-filters/foomatic-rip.in?rev=3.34&content-type=text/x-cvsweb-markup
http://www.cups.org/str?L105+P0+S-2+C0+I20+E0+Q

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul at imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------


More information about the kde-print mailing list