Enum Class OtNameIdPredefined

java.lang.Object
java.lang.Enum<OtNameIdPredefined>
org.freedesktop.harfbuzz.OtNameIdPredefined
All Implemented Interfaces:
Serializable, Comparable<OtNameIdPredefined>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum OtNameIdPredefined extends Enum<OtNameIdPredefined> implements Enumeration

An enum type representing the pre-defined name IDs.

For more information on these fields, see the OpenType spec.

Since:
7.0.0
  • Enum Constant Details

    • FONT_FAMILY

      public static final OtNameIdPredefined FONT_FAMILY
      Font Family name
    • FONT_SUBFAMILY

      public static final OtNameIdPredefined FONT_SUBFAMILY
      Font Subfamily name
    • UNIQUE_ID

      public static final OtNameIdPredefined UNIQUE_ID
      Unique font identifier
    • FULL_NAME

      public static final OtNameIdPredefined FULL_NAME
      Full font name that reflects all family and relevant subfamily descriptors
    • VERSION_STRING

      public static final OtNameIdPredefined VERSION_STRING
      Version string
    • POSTSCRIPT_NAME

      public static final OtNameIdPredefined POSTSCRIPT_NAME
      PostScript name for the font
    • TRADEMARK

      public static final OtNameIdPredefined TRADEMARK
      Trademark
    • MANUFACTURER

      public static final OtNameIdPredefined MANUFACTURER
      Manufacturer Name
    • DESIGNER

      public static final OtNameIdPredefined DESIGNER
      Designer
    • DESCRIPTION

      public static final OtNameIdPredefined DESCRIPTION
      Description
    • VENDOR_URL

      public static final OtNameIdPredefined VENDOR_URL
      URL of font vendor
    • DESIGNER_URL

      public static final OtNameIdPredefined DESIGNER_URL
      URL of typeface designer
    • LICENSE

      public static final OtNameIdPredefined LICENSE
      License Description
    • LICENSE_URL

      public static final OtNameIdPredefined LICENSE_URL
      URL where additional licensing information can be found
    • TYPOGRAPHIC_FAMILY

      public static final OtNameIdPredefined TYPOGRAPHIC_FAMILY
      Typographic Family name
    • TYPOGRAPHIC_SUBFAMILY

      public static final OtNameIdPredefined TYPOGRAPHIC_SUBFAMILY
      Typographic Subfamily name
    • MAC_FULL_NAME

      public static final OtNameIdPredefined MAC_FULL_NAME
      Compatible Full Name for MacOS
    • SAMPLE_TEXT

      public static final OtNameIdPredefined SAMPLE_TEXT
      Sample text
    • CID_FINDFONT_NAME

      public static final OtNameIdPredefined CID_FINDFONT_NAME
      PostScript CID findfont name
    • WWS_FAMILY

      public static final OtNameIdPredefined WWS_FAMILY
      WWS Family Name
    • WWS_SUBFAMILY

      public static final OtNameIdPredefined WWS_SUBFAMILY
      WWS Subfamily Name
    • LIGHT_BACKGROUND

      public static final OtNameIdPredefined LIGHT_BACKGROUND
      Light Background Palette
    • DARK_BACKGROUND

      public static final OtNameIdPredefined DARK_BACKGROUND
      Dark Background Palette
    • VARIATIONS_PS_PREFIX

      public static final OtNameIdPredefined VARIATIONS_PS_PREFIX
      Variations PostScript Name Prefix
    • INVALID

      public static final OtNameIdPredefined INVALID
      Value to represent a nonexistent name ID.
  • Method Details

    • values

      public static OtNameIdPredefined[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OtNameIdPredefined valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static OtNameIdPredefined of(int value)
      Create a new OtNameIdPredefined for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static OtNameIdPredefined of(MemorySegment address)
      Create a new OtNameIdPredefined for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the OtNameIdPredefined class.
      Returns:
      the GType