Description
The file http://tie.open.ac.uk/256.pdf crashes the JVM during conversion to jpeg with the following message :
Assertion failed: (fnum >= 0 && fnum < t->numSubrs), function BuildSubrs, file ../../../src/share/native/sun/font/t2k/t1.c, line 3098.
Java Result: 134
The error happens in the method convertToImage():
PDPage page = (PDPage) pages.get(startPage);
PDPage page = (PDPage) pages.get(0);
try
catch (IOException ex)
{ Logger.getLogger(PdfIText.class.getName()).log(Level.SEVERE, null, ex); }The problem occurs not for all files, but is critical as it stops my webserver (Tomcat) that needs to be then restarted.
Attachments
Issue Links
- duplicates
-
PDFBOX-2083 Some characters overlap other characters, font changed
- Closed
-
PDFBOX-2085 Monospace font is missing when rendering document
- Closed
-
PDFBOX-2915 PDPage.convertToImage special symbols
- Closed
- is blocked by
-
PDFBOX-988 pdmodel.font.PDSimpleFont hanging on TrueType font (ubuntu)
- Closed
- is duplicated by
-
PDFBOX-2000 White page when converting first page to image
- Closed
- is related to
-
PDFBOX-1809 Embedded Fonts not drawn on Pages BufferedImage
- Closed
-
PDFBOX-1844 [PATCH] Parser for Type 1 Fonts
- Closed
- is superceded by
-
PDFBOX-1844 [PATCH] Parser for Type 1 Fonts
- Closed
- relates to
-
PDFBOX-723 Our test hangs with custom pdf file on operation PDPage.convertToImage()
- Closed