[
https://issues.apache.org/jira/browse/PDFBOX-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler updated PDFBOX-1040:
---------------------------------------
Priority: Minor (was: Major)
Issue Type: New Feature (was: Bug)
PDFBox doesn't support the usage external fonts when creating a pdf as it's in
most cases a bad idea not to include those fonts.
However, this isn't a bug, but a new feature request. I changed the type and
the priority.
> NPE in PDTrueTypeFont.loadTTF(null, nameOfFont)
> -----------------------------------------------
>
> Key: PDFBOX-1040
> URL: https://issues.apache.org/jira/browse/PDFBOX-1040
> Project: PDFBox
> Issue Type: New Feature
> Components: PDModel
> Affects Versions: 1.4.0
> Environment: JDK 1.6.0_025, Windows 7 64 Bit
> Reporter: MH
> Priority: Minor
>
> Calling PDTrueTypeFont.loadTTF() or new PDType1AfmPfbFont() with the first
> parameter (Document) set as null results in a NullPointerException! I set
> document as null as I don't want the font to be embedded in the document. As
> I don't see any other constructor for creating fonts omitting the document, I
> expect to set it to null if I don't want the font to get embedded.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira