Source: ghostscript Severity: wishlist Usertags: defoma-removal I'm investigating the possibility of removing defoma from Debian during the squeeze release cycle and migrating everything to fontconfig. ghostscript currently contains a defoma script. Confusingly it (libgs8) also depends on fontconfig,. Presumably the defoma support could be removed and everything would still work fine.
The current ghostscript defoma backend generates the following files:
/var/lib/defoma/gs.d/dirs/fonts/cidfmap
/var/lib/defoma/gs.d/dirs/fonts/CIDFnmap
/var/lib/defoma/gs.d/dirs/fonts/FAPIfontmap
/var/lib/defoma/gs.d/dirs/fonts/Fontmap
These files could be generated with a script using fontconfig instead of
defoma, run using a dpkg trigger. Alternatively, if the current use of
fontconfig in libgs8 makes these files not needed, then they can just be
dropped and removed on upgrade/purge.
It also symlinks all the TrueType and Type1 fonts into this directory:
/var/lib/defoma/gs.d/dirs/fonts/
Presumably for that you could just change the --with-fontpath in
debian/rules to drop that directory since it already
has /usr/share/fonts in the fontpath. You would need to check that it
recurses into subdirectories searching for fonts to make sure that this
works properly.
BTW, here are the font paths used by Fedora:
* /usr/share/fonts/default/ghostscript
* /usr/share/fonts/default/Type1
* /usr/share/fonts/default/amspsfnt/pfb
* /usr/share/fonts/default/cmpsfont/pfb
* /usr/share/fonts
* /usr/share/ghostscript/conf.d
* /etc/ghostscript
* /etc/ghostscript/<version>
--
bye,
pabs
http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

