Class GFPDTrueTypeFont

All Implemented Interfaces:
Object, PDFont, PDObject, PDResource, PDSimpleFont, PDTrueTypeFont

public class GFPDTrueTypeFont extends GFPDSimpleFont implements PDTrueTypeFont
Represents TrueType font dictionary.
Author:
Sergey Shemyakov
  • Field Details

  • Constructor Details

  • Method Details

    • getdifferencesAreUnicodeCompliant

      public Boolean getdifferencesAreUnicodeCompliant()
      Description copied from interface: PDTrueTypeFont
      true if all glyph names in the differences array of the Encoding dictionary are a part of the Adobe Glyph List and the embedded font program contains the Microsoft Unicode (3,1 - Platform ID=3, Encoding ID=1) cmap subtable
      Specified by:
      getdifferencesAreUnicodeCompliant in interface PDTrueTypeFont
      Returns:
      true if all glyph names in the differences array of the Encoding dictionary are a part of the Adobe Glyph List and the embedded font program contains the Microsoft Unicode (3,1 - Platform ID=3, Encoding ID=1) cmap subtable.
    • getisStandard

      public Boolean getisStandard()
      true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference
      Specified by:
      getisStandard in interface PDSimpleFont
      Specified by:
      getisStandard in class GFPDSimpleFont
      Returns:
      true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference.