[Poppler-bugs] [Bug 11413] Poppler can't display Japanese text correctly.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 11 06:19:52 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=11413





------- Comment #15 from sho at bbr.jp  2007-12-11 06:19 PST -------
(In reply to comment #14)
> I've come across another possible regression caused by this patch.
> 
> Around GfxFont.cc:1879 there is a comment that states:
>         // fall-through, assuming the Identity mapping -- this appears
>         // to match Adobe's behavior
> 
> This causes pdf's that use the Adobe-Japan mapping to fall-through when the
> mapping file from the poppler-data package is not around. Falling through,
> instead of erroring causes the identity mapping to be used which is obviously
> not correct. 
> 
> Do you have any pdf's that rely on the fall-through behaviour? Perhaps known
> mappings should cause an error and only unknown mappings fall through? i.e.
> Adobe-Japan causes an error even if the .cidToUnicode file is not around.
> 
> What do you think? 
> 

This code is to get toUnicode map. toUnicode map is not mandatory.
And identity mapping may be correct.

When embedded font is used, neither CMap nor toUnicode map is needed.
Attached A.pdf can be displayed without language pack if it falls through.
So, falling through is better here.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Poppler-bugs mailing list