Interface Glyph

All Superinterfaces:
Object
All Known Subinterfaces:
CIDGlyph
All Known Implementing Classes:
GFCIDGlyph, GFGlyph

public interface Glyph extends Object
glyph used in text
  • Method Details

    • getname

      String getname()
      glyph name, or empty string if the glyph is not identified by the name (as in case of CID fonts)
    • getwidthFromDictionary

      Double getwidthFromDictionary()
      width of the glyph specified in the Font dictionary
    • getwidthFromFontProgram

      Double getwidthFromFontProgram()
      width of the glyph in the embedded font program
    • getisGlyphPresent

      Boolean getisGlyphPresent()
      true if glyph is present in the font program
    • gettoUnicode

      String gettoUnicode()
      unicode value of the glyph
    • getrenderingMode

      Long getrenderingMode()
      value of the rendering mode at the moment the glyph is shown
    • getunicodePUA

      Boolean getunicodePUA()
      true if toUnicode value contains codes from Unicode Private Use Area
    • getactualTextPresent

      Boolean getactualTextPresent()
      true if an ActualText entry is present for this glyph
    • getaltPresent

      Boolean getaltPresent()
      true if an Alt entry is present for this glyph
    • getisRealContent

      Boolean getisRealContent()
      true if this glyph is a real content