[Poppler-bugs] [Bug 104661] New: Math symbols rendered as squares
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 16 19:29:23 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104661
Bug ID: 104661
Summary: Math symbols rendered as squares
Product: poppler
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: maris.nartiss at gmail.com
Created attachment 136784
--> https://bugs.freedesktop.org/attachment.cgi?id=136784&action=edit
Test PDF (starting from page 5)
In one PDF file math symbols are rendered as squares (see 5th page of attached
PDF). On the same system FF built in PDF viewer and MuPDF have no problems with
rendering. Inkscape import gives mixed results – poppler/Cairo backend displays
squares, but "built in (poppler derived)" backend imports file just fine (with
or without "font replacement override").
I tested most of PDF samples I found in bugzilla and none of math symbols
related ones had any issues. Although it is not a proof, it hints on quite good
work of poppler finding a correct font for other PDFs. Thus submitting this
"specimen" for examination.
Tested with:
poppler-0.62.0-r1
poppler-data-0.4.8
Gentoo ~AMD64
pdffonts math_symbol_render_issue.pdf
name type encoding emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
TimesNewRoman TrueType WinAnsi no no
no 6 0
TimesNewRoman,Bold TrueType WinAnsi no no
no 8 0
TimesNewRoman,Italic TrueType WinAnsi no no
no 12 0
TimesNewRoman,BoldItalic TrueType WinAnsi no no
no 20 0
Symbol TrueType Symbol no no
no 22 0
Symbol,Italic TrueType Symbol no no
no 33 0
PADFIF+MTExtra TrueType WinAnsi yes yes
no 42 0
Arial TrueType WinAnsi no no
no 94 0
CourierNew TrueType WinAnsi no no
no 116 0
pdffonts -subst math_symbol_render_issue.pdf
name object ID substitute font
substitute font file
------------------------------------ ---------
------------------------------------ ------------------------------------
TimesNewRoman 6 0 Liberation Serif
/usr/share/fonts/liberation-fonts/LiberationSerif-Regular.ttf
TimesNewRoman,Bold 8 0 Liberation Serif Bold
/usr/share/fonts/liberation-fonts/LiberationSerif-Bold.ttf
TimesNewRoman,Italic 12 0 Liberation Serif Italic
/usr/share/fonts/liberation-fonts/LiberationSerif-Italic.ttf
TimesNewRoman,BoldItalic 20 0 Liberation Serif Bold Italic
/usr/share/fonts/liberation-fonts/LiberationSerif-BoldItalic.ttf
Symbol 22 0 Liberation Sans
/usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf
Symbol,Italic 33 0 Liberation Sans Italic
/usr/share/fonts/liberation-fonts/LiberationSans-Italic.ttf
Arial 94 0 Liberation Sans
/usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf
CourierNew 116 0 Liberation Mono
/usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180116/8146322f/attachment.html>
More information about the Poppler-bugs
mailing list