[Poppler-bugs] [Bug 91013] New: can't display correctly of Chinese book

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 17 17:04:40 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91013

            Bug ID: 91013
           Summary: can't display correctly of Chinese book
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: nsynet at qq.com

Created attachment 116567
  --> https://bugs.freedesktop.org/attachment.cgi?id=116567&action=edit
the book that can't read

This is a case cloned from GNOME Bugzilla – Bug 751115

the book that can't read

Evince can't display book correcly, just wrong words
but some other tools can display well, such as mupdf, foxit reader (close
source software).

 I use mupdf and can read it correcly, and I notice there is print as below:

nisy at nisy-ubuntu:/media/nisy/sda1_WinXP/_Technology/98_my_project/_27_改进开源软件/乱码问题$
mupdf ./1_\[雅舍菁华\].梁秋实.文字版.PDF 
warning: workaround for S22PDF lying about chinese font encodings
warning: ... repeated 2 times ...
warning: workaround for S22PDF lying about chinese font encodings
warning: ... repeated 2 times ...


so I guess mupdf had workaround to avoid font issue, so I checked in mupdf
code,find its code should be:

    pdf_load_font
        |__pdf_load_simple_font 
                |__ pdf_load_simple_font_by_name
                    |__                 fz_warn(ctx, "workaround for S22PDF
lying about chinese font encodings");


Because evince also have font mechanism, so can evince consider to check mupdf
's mechanism, and merge mupdf 's method to avoid this issue? Thanks.

nishengyue

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150618/2c987edb/attachment.html>


More information about the Poppler-bugs mailing list