<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - can't display correctly of Chinese book"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91013">91013</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>can't display correctly of Chinese book
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nsynet@qq.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=116567" name="attach_116567" title="the book that can't read">attachment 116567</a> <a href="attachment.cgi?id=116567&action=edit" title="the book that can't read">[details]</a></span>
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@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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>