You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/08/04 21:04:15 UTC
[jira] [Resolved] (PDFBOX-2213) NPE from PDFBOX-122
[ https://issues.apache.org/jira/browse/PDFBOX-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson resolved PDFBOX-2213.
---------------------------------
Resolution: Fixed
Fixed in the trunk, however some glyphs in the file do not render because the current encoding mechanism and AWT usage can't handle them, see PDFBOX-2149 .
> NPE from PDFBOX-122
> -------------------
>
> Key: PDFBOX-2213
> URL: https://issues.apache.org/jira/browse/PDFBOX-2213
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Assignee: John Hewson
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage PDFBOX122-UniJIS-UCS2-HW-H_sample.pdf
> {code}
> Jul 22, 2014 9:38:55 PM org.apache.pdfbox.rendering.PageDrawer createAWTFont
> INFORMATION: Unsupported type of font org.apache.pdfbox.pdmodel.font.PDType0Font
> Jul 22, 2014 9:38:55 PM org.apache.pdfbox.rendering.PageDrawer createAWTFont
> INFORMATION: Using font SansSerif.plain instead of ?l?r?¥?®
> Exception in thread "main" java.lang.NullPointerException
> at sun.font.StandardGlyphVector.<init>(Unknown Source)
> at java.awt.Font.createGlyphVector(Unknown Source)
> at org.apache.pdfbox.rendering.PageDrawer.drawString(PageDrawer.java:415)
> at org.apache.pdfbox.rendering.PageDrawer.processGlyph(PageDrawer.java:331)
> at org.apache.pdfbox.util.PDFStreamEngine.processText(PDFStreamEngine.java:503)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)