You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Wulf Berschin (JIRA)" <ji...@apache.org> on 2011/08/08 18:00:27 UTC

[jira] [Created] (PDFBOX-1083) PDType0Font incomplete

PDType0Font incomplete
----------------------

                 Key: PDFBOX-1083
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1083
             Project: PDFBox
          Issue Type: Improvement
          Components: PDModel
    Affects Versions: 1.6.0
            Reporter: Wulf Berschin
            Priority: Trivial


E.g. getFontDescriptor() always returns null (A composite (Type0) font doesnt have a FontDescriptor, instead its DescendentFonts[0] has it)

Please add: 

    public PDFontDescriptor getFontDescriptor()
    {
      return descendentFont.getFontDescriptor();
    }


and check if other methods could follow, e.g

  public PDRectangle getFontBoundingBox() throws IOException
    {
      return descendentFont.getFontBoundingBox();
    }






--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira