In some Japanese PDF files(in evince) could not display Kanji characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
Fix Released
|
Undecided
|
Gunnar Hjalmarsson |
Bug Description
Binary package hint: language-selector
In some Japanese PDF files(font is not embedded) could not read with evince.
So, Japanese user could not read many pdf files at right out of the box.
-------
How reproduce:
1) install natty
2) login and set "Japanese" :
system settings -> Language Settings -> Install/Remove Language -> add "Japanese"
3) install poppler-data(just in case, it is automatic applied in Natty)
# apt-get install popller-data
4) Open attached PDF file with evince.
Actual result:
- PDF characters are not readable, Kanji chars become squares.
- see https:/
Expected result (pathced):
- PDF characters are readable.
- see https:/
-------
Solution:
We(me, Ikuya AWASHIRO, Mitsuya Shibata, Takashi Sakamoto) test with these behavior.
In conclusion, it came from /etc/fonts/
That file bind at top with "DejaVu Serif" / "DejaVu Sans", evince could not properly handle the these designation.
However, this bug *not* evince's. IMHO, in a precise sense, that cause evinces bad behavir. evince could not handle "font-linked" settings,
but other(many) application could use this.
In ideal behavior, evince use "DejaVu Serif" / "DejaVu Sans" bindings handle the correctly, but that is not easy.
I approach the patch. It is workaround for that bad behavior.
Thanks for your effort to make Ubuntu better by reporting this issue and propose a solution.
Could you please let us know how the attached patch affects rendering of English and other Latin characters. Have the four of you discussed possible regression and, if you have, what's your views on pros and cons?
I know basically nothing about displaying of CJK characters, but I have noted that the equivalent issue for traditional Chinese is being discussed in considerable detail, e.g. in bug 713950 and bug 659280. Some argue well against the kind of workaround you suggest, meaning that it's poppler-data and buggy applications that ought to be fixed. I recommend that you review those discussions, unless you already have.
I'm not saying that this aspect of Japanese and traditional Chinese necessarily should be handled in the same way, but it's an adequate comparison, don't you think? https:/ /launchpad. net/~ubuntu- cjk-testers might be an appropriate forum for coordinating issues as the one in this bug report, but I don't know how well that team works.
Looking forward to further comments; setting the status "Incomplete" in the meantime.