Interface PDSimpleFont

All Superinterfaces:
Object, PDFont, PDObject, PDResource
All Known Subinterfaces:
PDTrueTypeFont, PDType1Font, PDType3Font
All Known Implementing Classes:
GFPDSimpleFont, GFPDTrueTypeFont, GFPDType1Font, GFPDType3Font

public interface PDSimpleFont extends PDFont
One of the simple font types (Type 1, TrueType, Type 3)
  • Method Details

    • getisStandard

      Boolean getisStandard()
      true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference
    • getFirstChar

      Long getFirstChar()
      FirstChar entry; null if LastChar entry is not present or has invalid type
    • getLastChar

      Long getLastChar()
      LastChar entry; null if LastChar entry is not present or has invalid type
    • getWidths_size

      Long getWidths_size()
      The size of the Widths array; null if the Widths array is not present or has invalid type
    • getEncoding

      String getEncoding()
      String representation of the font encoding: - null if the /Encoding entry is not present in the font dictionary - if /Encoding entry in the font dictionary if of Name type, then the value of this entry; - if /Encoding entry is a dictionary, which does not contain /Differences array, then the value of /BaseEncoding entry in this dictionary (or null, if /BaseEncoding is also not present)
    • getcontainsDifferences

      Boolean getcontainsDifferences()
      true if an Encoding dictionary contains a Differences entry