Description of problem: The cidfmap provided by fonts-japanese has an absolute path to TrueType font. (/usr/share/fonts/sazanami-fonts-mincho/sazanami-mincho.ttf etc) But the directory /usr/share/fonts/sazanami-fonts-mincho/ is not one of permitted directory. This leads p2spdf to find sazanami-mincho.ttf failaure. Version-Release number of selected component (if applicable): ghostscript-8.60-5.fc8, but currently can't reproduce because of Bug #402481 and Bug #402501 How reproducible: always Steps to Reproduce: 1. ps2pdf test-euc.ps (please pickup test-euc.ps from here https://bugzilla.redhat.com/attachment.cgi?id=116741) 2. 3. Actual results: Exit with this error. Error: /invalidfileaccess in /findfont Operand stack: GothicBBB-Medium-EUC-H Execution stack: Expected results: produce test-euc.pdf Additional info: Here is Workaround. GS_LIB=/usr/share/fonts/sazanami-fonts-gothic:/usr/share/fonts/sazanami-fonts-mincho ps2pdf test-euc.ps
Proper workaround. ps2pdf -dNOSAFER test-euc.ps
Or alternatively, perhaps ghostscript could be compiled with /usr/share/fonts in the fontpath.
ghostscript-8.61-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ghostscript'
Thank you. With ghostscript-8.61-1.fc8, ps2pdf works without -dNOSAFER. Please close this bug.
*** Bug 402691 has been marked as a duplicate of this bug. ***
I'm seeing this too, when building libtheora for -devel, as libtheora's docs building uses ghostscript, see: http://koji.fedoraproject.org/koji/getfile?taskID=266202&name=build.log
(In reply to comment #6) > I'm seeing this too, when building libtheora for -devel, as libtheora's docs > building uses ghostscript, see: > http://koji.fedoraproject.org/koji/getfile?taskID=266202&name=build.log Now cidfmap reads cidfmap.{ja|ko|zn_CN|zn_TW}. So you have to install fonts-japanese, fonts-korean, fonts-chineses to execute gs. Fedora8 installs them by default, but It's not good to force to install them for building packages. I don't have good idea.
(In reply to comment #7) > Now cidfmap reads cidfmap.{ja|ko|zn_CN|zn_TW}. > So you have to install fonts-japanese, fonts-korean, fonts-chineses > to execute gs. Fedora8 installs them by default, but It's not good to > force to install them for building packages. I don't have good idea. Nasty, I'll just add BuildRequires on those font packages as a workaround for now. Let me know when I can remove them again.
This should be fixed in rawhide now (ghostscript-6.51-5.fc9).
Er.. 8.61-5.fc9
Ok, I'll fire another libtheora build (without requires on the font packages) when I'm back home (and have access to my private-key / ssl certificates). I'll let you know how that goes.
libtheora (without any additional BuildRequires) builds fine now.
ghostscript-8.61-4.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ghostscript'
ghostscript-8.61-5.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ghostscript'
ghostscript-8.61-5.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.