Bug 689334

Summary: Add CUPS fonts directory to default font path
Product: Ghostscript Reporter: Till Kamppeter <till.kamppeter>
Component: Build ProcessAssignee: Ralph Giles <ralph.giles>
Status: NOTIFIED FIXED    
Severity: normal CC: mike
Priority: P4    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---
Bug Depends on:    
Bug Blocks: 689315    
Attachments: Add CUPS's font path to the search path of GS

Description Till Kamppeter 2007-07-04 10:09:45 UTC
In the ./configure process of ESP Ghostscript the CUPS font path is added to
Ghostscript's font path if CUPS is present at build time. This should be added
also to GPL Ghostscript, as distros are switching to GPL Ghostscript now after
the merger and users should not perceive regressions.

Patch attached.
Comment 1 Till Kamppeter 2007-07-04 10:10:46 UTC
Created attachment 3160 [details]
Add CUPS's font path to the search path of GS
Comment 2 Ralph Giles 2007-07-10 10:11:47 UTC
Seems reasonable, but doesn't the fontconfig patch also take care of this? Why
does cups have it's own font path in the first place?
Comment 3 Till Kamppeter 2007-07-10 10:31:41 UTC
The fontpath should perhaps serve for systems which do not provide fontconfig.

Mike, what is your motivation of adding the CUPS fontpath (and CUPS having its
own fontpath)?
Comment 4 Michael Sweet 2007-07-10 21:40:11 UTC
CUPS has its own font path because there a) may not be printer-suitable fonts
installed on the system and b) even if there are, you may want to use specific
fonts for printing. Using CUPS_FONTPATH (at least from the pstoraster script) is
definitely needed, since not all application embed their fonts... :(

Also, only Linux has fontconfig support...
Comment 5 Ralph Giles 2007-10-24 16:32:52 UTC
Committed in r8318.