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/10/11 06:43:33 UTC

[jira] [Closed] (PDFBOX-2399) font.getFontDescriptor() for PDType1Font.HELVETICA is null

     [ https://issues.apache.org/jira/browse/PDFBOX-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson closed PDFBOX-2399.
-------------------------------
    Resolution: Fixed

Yep. There was supposed to be a call to the PDFont(String baseFont) super constructor which was missing. I've also made the protected super constructors package-private as these shouldn't have been exposed.

>  font.getFontDescriptor() for PDType1Font.HELVETICA is null
> -----------------------------------------------------------
>
>                 Key: PDFBOX-2399
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2399
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Daniel Brownell
>            Assignee: John Hewson
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> private PDType1Font font = PDType1Font.HELVETICA;
> font.getFontDescriptor() returns null
> I would think it shouldn't.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)