Public bug reported:

I have a PDF that crashes Document Viewer repeatably at the same page.
Starting evince from console, I see these errors (at p.709, 719/958):

Syntax Error: Missing or invalid CharProcs dictionary in Type 3 font
Syntax Error: Weird page contents
evince: /build/buildd/cairo-1.13.0~20140204/src/cairo-scaled-font.c:459: 
_cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
Aborted (core dumped)

MuPDF and Firefox also flag the font error, but don't crash. Firefox
says (at p.711, 721/958)

Warning: Error during font loading: Type3 font load error: TypeError:
this.stream.getByte is not a function  pdf.js:273:11

and MuPDF says (at p.712, 722/958)

error: syntaxerror: Type3 font missing CharProcs
error: cannot load type3 font (3207 0 R)
error: cannot set font
warning: Ignoring errors during rendering
warning: cannot draw text since font and size not set
error: syntaxerror: Type3 font missing CharProcs
error: cannot load type3 font (3207 0 R)
error: cannot set font
warning: cannot draw text since font and size not set
mupdf: warning: Errors found on page
warning: cannot render glyph

I attached a bit of a PDF that triggers this. Evince will crash when it
reaches p.708 (9/16 in the extract). MuPDF and Firefox will throw errors
at p.712 but won't crash. (idk why it's not the same.)

** Affects: evince (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Silbey_710-725.pdf"
   
https://bugs.launchpad.net/bugs/1680288/+attachment/4855871/+files/Silbey_710-725.pdf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1680288

Title:
  evince crashes on 'Type 3 font' error in PDF

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1680288/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to