You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Kenneth Berland (JIRA)" <ji...@apache.org> on 2010/09/21 18:51:33 UTC
[jira] Created: (PDFBOX-835) Font Manger Fails to Set StandardFont
Font Manger 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
Priority: Minor
On Fedora release 13 (Goddard), FontManager fails to find either of the two enumerated standardFonts, arial or timesnewroman.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-835) Font Manger Fails to Set StandardFont
Posted by "Kenneth Berland (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Berland updated PDFBOX-835:
-----------------------------------
Attachment: pdfbox-835.FontManager.patch
I've added "serif" as a standardFont option. I've also added a failsafe where the first font is designated the standardFont.
> Font Manger 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
> Priority: Minor
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-835) Font Manger Fails to Set StandardFont
Posted by "Kenneth Berland (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Berland updated PDFBOX-835:
-----------------------------------
Description:
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)
was:On Fedora release 13 (Goddard), FontManager fails to find either of the two enumerated standardFonts, arial or timesnewroman.
> Font Manger 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
> Priority: Minor
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.