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 2017/03/25 18:10:46 UTC
[jira] [Updated] (PDFBOX-2642) Unsupported: Type1 PFB fonts in
CIDFontType0
[ https://issues.apache.org/jira/browse/PDFBOX-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-2642:
---------------------------------------
Fix Version/s: (was: 2.1.0)
3.0.0
> Unsupported: Type1 PFB fonts in CIDFontType0
> --------------------------------------------
>
> Key: PDFBOX-2642
> URL: https://issues.apache.org/jira/browse/PDFBOX-2642
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Fix For: 3.0.0
>
> Attachments: PDFBOX-2642-277053-p3.pdf
>
>
> {code}
> java.lang.NullPointerException
> at org.apache.pdfbox.pdmodel.font.PDCIDFontType0.getFontMatrix(PDCIDFontType0.java:169)
> at org.apache.pdfbox.pdmodel.font.PDCIDFontType0.<init>(PDCIDFontType0.java:153)
> at org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:121)
> at org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:95)
> at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83)
> {code}
> UPDATE: The PDF contains a CIDFontType0 which has a FontFile3 containing a Type1 PFB font. This is invalid, but Type1C is permitted and the two are equivalent, so it should be possible to handle this. However, the current design of PD CIDFontType0 does not permit it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org