Description of problem: Sorry for getting back this idea again, but adding the another configuration files to Fontmap, FAPIfontmap, FAPIcidfmap, cidfmap and CIDFnmap to read is required for silly packaging issue. where is put onto the directory that isn't allowed to modify in general, such as /usr/share. Will attach the proposed patch then.
I mean /etc/ghostscript would be used as the place put the user configuration and create new place to put the files which the packages, such as fonts-{japanese,korean,chinese} has.
Created attachment 150891 [details] proposed patch for ghostscript.spec The reason to put the user configuration files under the versioned directory is to prevent the breakage for incompatible changes in the configuration since it may be hard to solve such files but we could fix the configuration files from the font packages with rebuilding them. and still adding /etc/ghostscript to the font path is to keep the compatibility. %{_datadir}/%{name}/conf.d would be used to put the files for the font packages.
This hunk did not apply cleanly: @ -110,7 +110,9 @@ %{_datadir}/fonts/default/amspsfnt/pfb \ %{_datadir}/fonts/default/cmpsfont/pfb \ %{_datadir}/fonts/japanese \ - %{_sysconfdir}/%{name} + %{_datadir}/%{name}/conf.d \ + %{_sysconfdir}/%{name} \ + %{_sysconfdir}/%{name}/%{gs_dot_ver} do FONTPATH="$FONTPATH${FONTPATH:+:}$path" done ..because %{_datadir}/fonts/japanese is not in that list in CVS. Is that part of a different change?
Oh, never mind, I was looking at a CVS file with a sticky tag..
Sorry for reopening. but need to append the kind of (cidfmap.local) .runlibfileifexists in cidfmap say. and as well as in CIDFnmap, FAPIfontmap and Fontmap.
Could you provide a patch please? I'm not sure I understand enough about it to get it right..
Created attachment 152763 [details] new file (CIDFnmap) to be installed under /usr/share/ghostscript/8.15/lib/
Created attachment 152764 [details] updated FAPIcidfnmap
Created attachment 152765 [details] an replacement of Fontmap that gs has by default.
Created attachment 152766 [details] updated cidfmap
Thanks! Should be all done in ghostscript-8.15.4-3.fc7.