Class FontTriplet

java.lang.Object
org.apache.fop.fonts.FontTriplet
All Implemented Interfaces:
Serializable, Comparable<FontTriplet>

public class FontTriplet extends Object implements Comparable<FontTriplet>, Serializable
FontTriplet contains information on name, style and weight of one font
See Also:
  • Field Details

    • DEFAULT_FONT_TRIPLET

      public static final FontTriplet DEFAULT_FONT_TRIPLET
    • serialVersionUID

      private static final long serialVersionUID
      serial version UID
      See Also:
    • name

      private String name
    • style

      private String style
    • weight

      private int weight
    • priority

      private int priority
    • key

      private transient String key
  • Constructor Details

    • FontTriplet

      public FontTriplet()
    • FontTriplet

      public FontTriplet(String name, String style, int weight)
      Creates a new font triplet.
      Parameters:
      name - font name
      style - font style (normal, italic etc.)
      weight - font weight (100, 200, 300...800, 900)
    • FontTriplet

      public FontTriplet(String name, String style, int weight, int priority)
      Creates a new font triplet.
      Parameters:
      name - font name
      style - font style (normal, italic etc.)
      weight - font weight (100, 200, 300...800, 900)
      priority - priority of this triplet/font mapping
  • Method Details