[poppler] evince does not show chinese bold or italic
William Bader
williambader at hotmail.com
Thu Apr 20 17:36:08 UTC 2017
atril (the Mate desktop version of evince, I think using poppler-0.34.0) on Fedora 23 gets the bold but not the italic.
pdftops-0.53.0 -level3 also gets the bold but not the italic.
pdftops-0.53.0 -level2 generates a ps that fails in ghostscript with Error: /rangecheck in --xyshow-- , possibly similar to https://bugs.freedesktop.org/show_bug.cgi?id=63963
It looks like the file does not contain the fonts.
$ pdffonts chinese_bold_italic.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
STSong-Light CID TrueType UniGB-UCS2-H no no no 7 0
STSong-Light,Bold CID TrueType UniGB-UCS2-H no no no 10 0
STSong-Light,Italic CID TrueType UniGB-UCS2-H no no no 13 0
STSong-Light,BoldItalic CID TrueType UniGB-UCS2-H no no no 16 0
$ pdffonts -subst chinese_bold_italic.pdf
name object ID substitute font substitute font file
------------------------------------ --------- ------------------------------------ ------------------------------------
STSong-Light 7 0 Source Han Sans CN Light /usr/share/fonts/adobe-source-han-sans-cn/SourceHanSansCN-Light.otf
STSong-Light,Bold 10 0 Source Han Sans CN Bold /usr/share/fonts/adobe-source-han-sans-cn/SourceHanSansCN-Bold.otf
STSong-Light,Italic 13 0 Source Han Sans CN Regular /usr/share/fonts/adobe-source-han-sans-cn/SourceHanSansCN-Regular.otf
STSong-Light,BoldItalic 16 0 Source Han Sans CN Bold /usr/share/fonts/adobe-source-han-sans-cn/SourceHanSansCN-Bold.otf
Regards, William
________________________________
From: poppler <poppler-bounces at lists.freedesktop.org> on behalf of Thomas Johnsson <thomas at skri.net>
Sent: Thursday, April 20, 2017 11:28 AM
To: poppler at lists.freedesktop.org
Subject: [poppler] evince does not show chinese bold or italic
Now that Adobe has retracted support for Adobe Reader for Linux, we
use Evince as the default pdf viewer.
But we have an issue with evince for chinese text with bold, italic or both.
The font(s) used are "STSong-Light", "STSong-Light,Bold" ,
"STSong-Light,Italic" , and "STSong-Light,BoldItalic" .
Attached screenshots show an example line with each of the fonts above,
displayed by (Adobe Acrobat Reader) acroread, and evince.
As can be seen, evince shows no difference between the lines of chinese
text.
I also attach the pdf file.
Latest tested evince version: 3.14.2 (RHEL7).
I suspect (but I'm not sure) that acroread synthesizes bold and italic
from the regular font, and that evince fails to do so.
Or could it be that additional fonts need to be installed?
Or might this have been fixed in a later version of evince?
Kind regards,
Thomas Johnsson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20170420/32558b78/attachment.html>
More information about the poppler
mailing list