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/06/01 20:08:01 UTC

[jira] [Closed] (PDFBOX-1422) PDFontFactory.createFont() return font which having no FontDescriptor and fontName can not be retrieved

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

Andreas Lehmkühler closed PDFBOX-1422.
--------------------------------------

    Resolution: Not a Problem
      Assignee: Andreas Lehmkühler

In a case of a Type0 font the descendant font always has a font descriptor. That's also true for the attached pdf.

Set to closed

> PDFontFactory.createFont() return font which having no FontDescriptor and fontName can not be retrieved
> -------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1422
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1422
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.7.1
>            Reporter: PanQuanyi
>            Assignee: Andreas Lehmkühler
>         Attachments: 106-113.p3.pdf
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> in case of PDType0Font and PDCIDFontType0Font, PDFontFactory.createFont() return font not having FontDescriptor, PDResources which  pushed into streamResourcesStack of PDFStreamEngine  finaly generate TextPosition with member font not having FontDescriptor, and then font name cat not be retrieved.



--
This message was sent by Atlassian JIRA
(v6.2#6252)