Hide Forgot
Description of problem: Since fedora 15, ghostscript (and evince) can't show Japanese fonts. According to "/usr/bin/gs -h", the search path includes: /usr/share/poppler/cMap/Adobe-CNS1 : /usr/share/poppler/cMap/Adobe-GB1 : /usr/share/poppler/cMap/Adobe-Japan1 : /usr/share/poppler/cMap/Adobe-Japan2 : /usr/share/poppler/cMap/Adobe-Korea1 Inspecting by strace, ghostscript seems to append "CMap" to the pathes: open("/usr/share/poppler/cMap/Adobe-Japan1/CMap/V", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/poppler/cMap/Adobe-Japan2/CMap/V", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/poppler/cMap/Adobe-Korea1/CMap/V", O_RDONLY) = -1 ENOENT (No such file or directory) open("CMap/V", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/ghostscript/9.04/Resource/CMap/V", O_RDONLY) = -1 ENOENT (No such file or directory) Version-Release number of selected component (if applicable): ghostscript-9.04-7.fc16.x86_64 How reproducible: always Steps to Reproduce: 1. /usr/bin/gs /usr/share/ghostscript/9.04/examples/cjk/article9.ps Actual results: Can't find (or can't open) font file /usr/share/ghostscript/9.04/Resource/Font/GothicBBB-Medium-V. Can't find (or can't open) font file GothicBBB-Medium-V. Querying operating system for font files... Can't find (or can't open) font file /usr/share/ghostscript/9.04/Resource/Font/GothicBBB-Medium-V. Can't find (or can't open) font file GothicBBB-Medium-V. Didn't find this font on the system! Substituting font Courier for GothicBBB-Medium-V. Loading NimbusMonL-Regu font from /usr/share/fonts/default/Type1/n022003l.pfb... 4090120 2721823 5284404 3960379 1 done. Can't find (or can't open) font file /usr/share/ghostscript/9.04/Resource/Font/Ryumin-Light-V. Can't find (or can't open) font file Ryumin-Light-V. Didn't find this font on the system! Substituting font Courier for Ryumin-Light-V. Error: /rangecheck in --widthshow-- Operand stack: 0 10.0 8482 (!!!L@oAh$NJ|4~!"@oNO$NITJ];}!"8r@o8"$NH]G'!M) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1162/1684(ro)(G)-- --dict:0/20(G)-- --dict:90/200(L)-- Current allocation mode is local Last OS error: 2 Current file position is 1932 GPL Ghostscript 9.04: Unrecoverable error, exit code 1 Expected results: ghostscript should show cjk fonts. Additional info: For the time being, I made a symbolic link /etc/ghostscript/CMap -> /usr/share/poppler/cMap/Adobe-Japan1, which seems to solve the issue of Japanese fonts. In strace's log, I also notice that ghostscript looks for fonts under the current directory: open("GothicBBB-Medium-V", O_RDONLY) = -1 ENOENT (No such file or directory) open("GothicBBB-Medium-V", O_RDONLY) = -1 ENOENT (No such file or directory) open("CIDFont/GothicBBB-Medium", O_RDONLY) = -1 ENOENT (No such file or directory) open("CIDFont/VL-Gothic", O_RDONLY) = -1 ENOENT (No such file or directory) open("CMap/V", O_RDONLY) = -1 ENOENT (No such file or directory) open("CMap/V", O_RDONLY) = -1 ENOENT (No such file or directory) open("CIDFont/GothicBBB", O_RDONLY) = -1 ENOENT (No such file or directory) open("CIDFont/GothicBBB", O_RDONLY) = -1 ENOENT (No such file or directory) open("GothicBBB-Medium-V", O_RDONLY) = -1 ENOENT (No such file or directory) open("CIDFont/GothicBBB-Medium", O_RDONLY) = -1 ENOENT (No such file or directory) Is it dangerous?
(In reply to comment #0) > Additional info: > For the time being, I made a symbolic link /etc/ghostscript/CMap -> > /usr/share/poppler/cMap/Adobe-Japan1, which seems to solve the issue of > Japanese fonts. This link doesn't help evince. Any image won't show up. evince is reading something forever.
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.