[Okular-devel] [okular] [Bug 349314] New: can't display correctly of Chinese book

nsynet nsynet at qq.com
Wed Jun 17 23:58:49 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=349314

            Bug ID: 349314
           Summary: can't display correctly of Chinese book
           Product: okular
           Version: 0.19.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: nsynet at qq.com

the book that can't read

okular can't display book correcly, just wrong words,It looks like there are
missing fonts (which are not embedded in the document).

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 okular also have font mechanism for pdf backend, so can okular consider
to check mupdf 's mechanism, and merge mupdf 's method to avoid this issue?
Thanks.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list