Red Hat Bugzilla – Bug 188448
Cannot see Japanese ps in SAFER mode
Last modified: 2007-11-30 17:11:30 EST
Description of problem:
Some Japanese ps file cannot be seen by gs in -dSAFER mode. One of the test case
is https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=116960 (in
Other applications such as evince (in core), gv (in extras) invoke gs in SAFER
mode, so some Japanese ps files (such as the test case) cannot be seen.
Removing -dSAFER option may cause some security hole.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download a Japanese ps file
2. See the ps file with gs in SAFER mode
I cannot see ps file with gs (see the attachment file log)
Can see ps file in SAFER mode
When I try gs -h,
. : /usr/share/ghostscript/8.15/lib :
/usr/share/ghostscript/8.15/Resource : /usr/share/ghostscript/fonts :
/usr/share/fonts/default/ghostscript : /usr/share/fonts/default/Type1 :
/usr/share/fonts/default/cmpsfont/pfb : /etc/ghostscript
/usr/share/fonts/japanese is not included in the search path. When I add
/usr/share/fonts/japanese to GS_LIB environment, gs works correctly with SAFER mode.
Created attachment 127536 [details]
A log of gs in SAFER mode for the test case
Fixed for Fedora Core devel in 8.15.1-9.
Queued for FC5 test update.
FC5 test update version ghostscript-8.15.1-7.2 works WELL for me.
Fixed in ghostscript-8.15.1-7.2.
Current rawhide ghostscript-8.15.1-9 works WELL for me and I close this bug as