Bug#338450: gs-esp: gs-esp+gs-cjk-resource failed when it had -dSAFER or -dPARANOIDSAFER
merge 338450 337936
reassign 338450 gs-common
thanks
At Thu, 10 Nov 2005 19:48:48 +0900 (JST),
Kenshi Muto wrote:
> Package: gs-esp
> Version: 8.15.1.dfsg.1-1
> Severity: important
>
> I noticed GhostScript viewer 'gv' or some PPD for CUPS always fail
> by missing Japanese fonts (gs-cjk-resource covers them) since gs-esp 8.
> And I found this problem happened only if they include -dSAFER or
> -dPARANOIDSAFER option.
After observation, I found the reason.
When -dSAFER or -dPARANOIDSAFER is defined, all of gs 8 load,
includes font files, must be in GS path.
/usr/share/fonts is not in GS path...
So most easy workaround is to let /usr/share/fonts in GS path.
But I believe it's just workaround.
IMHO best way is changing defoma script of gs-common to write
symlinked font path (/var/lib/defoma/gs.d/dirs/fonts/*) instead
of real font path (/usr/share/fonts/*) to
/var/lib/defoma/gs.d/dirs/fonts/cidfmap.
Thanks,
--
Kenshi Muto
kmuto@debian.org
Reply to: