You should add fontconfig support in ghostscript for the next release.
This way, Ghostscript will get access to all the fonts available in Linux. It
will saves the trouble to maintain two fonts list files (Fontmap for ghostscript
and fonts.conf for Fontconfig).
The Fedora developpers have already patched ghostscript in Fedora 2 for
Created attachment 814 [details]
This is the patch for Fontconfig support in ghostscript
This is the patch from the Fedora 2 ghostcript package
Another possible way to implement this would be to call
fontconfig from gp_enumerate_fonts. There is a dummy
implementation of gp_enuerate_fonts in gp_unix.c.
This should be split into a separate file.
An alternate implementation that uses fontconfig
can then be created in another file, and the appropriate
implementation selected at compile time.
This also keeps the fontconfig code in files that
are only used on Unix like platforms.
Are there any progress on this?
*** Bug 688705 has been marked as a duplicate of this bug. ***
Gentoo has been using a patch based implementing the gp_enumerate_fonts stubs
for UNIX using fontconfig for a little while, and it's recently been merged into
ESP GS too. That's *not* based on the 2004 pach attached to this bug.
Hopefully the ESP GS merge will be of interest given recent work undertaken to
reduce the diff between ESP gs and mainline.
See additional comment on bug 688705 re origin and copyright assignment.
Is there a reason this patch still not applied to Ghostscript SVN?
Can this be considered fixed/included in the upstream 8.60 release now that the
ghostscript-esp merger is done and doc/History8.htm mentions fontconfig stuff?
2007-06-22T15:44:43.448105Z Till Kamppeter
Added the fontconfig support from ESP Ghostscript
[src/Makefile.in src/configure.ac src/gp_unix.c]
Yes, it was included as part of 8.60. Thanks for pointing out the bug was still