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

        

Reply via email to