Summary: | Math symbols rendered as squares | ||
---|---|---|---|
Product: | poppler | Reporter: | Maris Nartiss <maris.nartiss> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Test PDF (starting from page 5)
Test PDF rendering in Okular, MuPDF and Inkscape |
Created attachment 136785 [details]
Test PDF rendering in Okular, MuPDF and Inkscape
Upper row: Inkscape with "built in (poppler based) backend"; MuPDF.
Lower row: Inkscape with "poppler/Cairo backend"; Okular.
poppler-0.62.0-r1
poppler-data-0.4.8
inkscape-0.92.2
okular-17.12.1
mupdf-1.11-r2
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/380. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 136784 [details] 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