You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/04/17 10:28:16 UTC
[jira] [Closed] (PDFBOX-835) Font Manager Fails to Set StandardFont
[ https://issues.apache.org/jira/browse/PDFBOX-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler closed PDFBOX-835.
-------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.8.5)
1.8.0
Assignee: Andreas Lehmkühler
PDFBOX-1418 introduced an improved font handling some time ago and I guess it solved this issue too.
Set to closed
> Font Manager Fails to Set StandardFont
> --------------------------------------
>
> Key: PDFBOX-835
> URL: https://issues.apache.org/jira/browse/PDFBOX-835
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Environment: Fedora release 13 (Goddard)
> Reporter: Kenneth Berland
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 1.8.0
>
> Attachments: pdfbox-835.FontManager.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> On Fedora release 13 (Goddard), FontManager fails to find either of the two enumerated standardFonts, arial or timesnewroman.
> The stack trace look something like this:
> org.apache.pdfbox.util.PDFStreamEngine - java.lang.NullPointerException
> java.lang.NullPointerException
> at org.apache.pdfbox.pdmodel.font.PDType1Font.getawtFont(PDType1Font.java:243)
> at org.apache.pdfbox.pdmodel.font.PDSimpleFont.drawString(PDSimpleFont.java:97)
> at org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:193)
> at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:509)
--
This message was sent by Atlassian JIRA
(v6.2#6252)