Class FontIdentification

java.lang.Object
com.itextpdf.io.font.FontIdentification

public class FontIdentification extends Object
Holds identification strings extracted from a font program.
  • Constructor Details

    • FontIdentification

      public FontIdentification()
  • Method Details

    • getTtfVersion

      public String getTtfVersion()
      Returns the TrueType version string.
      Returns:
      the version string, or null when unavailable
    • getTtfUniqueId

      public String getTtfUniqueId()
      Returns the TrueType unique identifier.
      Returns:
      the unique identifier, or null when unavailable
    • getType1Xuid

      public Integer getType1Xuid()
      Returns the Type 1 unique ID.
      Returns:
      the identifier, or null when unavailable
    • getPanose

      public String getPanose()
      Returns the PANOSE classification.
      Returns:
      the classification string, or null when unavailable
    • setTtfVersion

      protected void setTtfVersion (String ttfVersion)
      Sets the TrueType version.
      Parameters:
      ttfVersion - the version string
    • setTtfUniqueId

      protected void setTtfUniqueId (String ttfUniqueId)
      Sets the TrueType unique identifier.
      Parameters:
      ttfUniqueId - the identifier
    • setType1Xuid

      protected void setType1Xuid (Integer type1Xuid)
      Sets the Type 1 unique ID.
      Parameters:
      type1Xuid - the unique ID
    • setPanose

      protected void setPanose (byte[] panose)
      Sets the PANOSE classification from raw bytes.
      Parameters:
      panose - the PANOSE bytes
    • setPanose

      protected void setPanose (String panose)
      Sets the PANOSE classification string.
      Parameters:
      panose - the classification string