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.
Created attachment 3160 [details] Add CUPS's font path to the search path of GS
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?
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)?
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...
Committed in r8318.