Uses of Class org.apache.fop.fonts.FontTriplet (Apache FOP Core 2.11 API)
Date: 2025-04-24

## Uses of Class
org.apache.fop.fonts.FontTriplet

- Packages that use FontTriplet
  Package | Description
  --- | ---
  org.apache.fop.afp.fonts | Contains a collection of AFP Graphics Object Content Architecture (GOCA) structured objects.
  org.apache.fop.fo.properties | Classes representing the various property types as well as supporting data structures for the FO tree.
  org.apache.fop.fonts | Classes for font handling.
  org.apache.fop.fonts.substitute | Font substitution facilities.
  org.apache.fop.render.afp | An AFP Renderer implementation and supporting classes.
  org.apache.fop.render.intermediate |
  org.apache.fop.svg.font |
  org.apache.fop.tools.fontlist |

- - ### Uses of FontTriplet in org.apache.fop.afp.fonts

    Methods in org.apache.fop.afp.fonts that return types with arguments of type FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `List<FontTriplet>` | AFPFontInfo.`getFontTriplets()` Returns the list of font triplets associated with this font.

    Constructor parameters in org.apache.fop.afp.fonts with type arguments of type FontTriplet
    Constructor and Description
    `AFPFontInfo(AFPFont afpFont, List<FontTriplet> tripletList)` Main constructor

  - ### Uses of FontTriplet in org.apache.fop.fo.properties

    Methods in org.apache.fop.fo.properties that return FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `FontTriplet[]` | CommonFont.`getFontState(FontInfo fontInfo)` Create and return an array of `FontTriplets` based on the properties stored in the instance variables.

  - ### Uses of FontTriplet in org.apache.fop.fonts

    Fields in org.apache.fop.fonts declared as FontTriplet
    Modifier and Type | Field and Description
    --- | ---
    `static FontTriplet` | Font.`DEFAULT_FONT` Default fallback key
    `static FontTriplet` | FontTriplet.`DEFAULT_FONT_TRIPLET`

    Methods in org.apache.fop.fonts that return FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `static FontTriplet` | FontInfo.`createFontKey(String family, String style, int weight)` Creates a key from the given strings.
    `FontTriplet` | FontInfo.`findAdjustWeight(String family, String style, int weight)` Find a font with a given family and style by trying different font weights according to the spec.
    `FontTriplet[]` | FontInfo.`fontLookup(String[] families, String style, int weight)` Looks up a set of fonts.
    `FontTriplet` | FontInfo.`fontLookup(String family, String style, int weight)` Lookup a font.
    `FontTriplet` | Font.`getFontTriplet()`
    `FontTriplet` | FontInfo.`getTripletFor(String fontName)` Returns the first triplet matching the given font name.

    Methods in org.apache.fop.fonts that return types with arguments of type FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `Map<FontTriplet,String>` | FontInfo.`getFontTriplets()` Gets a Map of all registered font triplets.
    `List<FontTriplet>` | EmbedFontInfo.`getFontTriplets()` Returns the list of font triplets associated with this font.
    `List<FontTriplet>` | DefaultFontConfig.Font.`getTripletList()`
    `List<FontTriplet>` | FontInfo.`getTripletsFor(String fontName)` Returns all font triplet matching the given font name.

    Methods in org.apache.fop.fonts with parameters of type FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `void` | FontInfo.`addFontProperties(String internalFontKey, FontTriplet triplet)` Adds a new font triplet.
    `int` | FontTriplet.`compareTo(FontTriplet o)`
    `void` | FontEventListener.`fontSubstituted(Object source, FontTriplet requested, FontTriplet effective)` Notifies about a font being substituted as the requested one isn't available.
    `void` | FontEventProducer.`fontSubstituted(Object source, FontTriplet requested, FontTriplet effective)` Notifies about a font being substituted as the requested one isn't available.
    `void` | FontEventAdapter.`fontSubstituted(Object source, FontTriplet requested, FontTriplet effective)` Notifies about a font being substituted as the requested one isn't available.
    `Font` | FontInfo.`getFontInstance(FontTriplet triplet, int fontSize)` Retrieves a (possibly cached) Font instance based on a FontTriplet and a font size.
    `String` | FontInfo.`getInternalFontKey(FontTriplet triplet)` Returns the internal font key (F1, F2, F3 etc.) for a given triplet.
    `boolean` | FontTriplet.Matcher.`matches(FontTriplet triplet)` Indicates whether the given `FontTriplet` matches a particular criterium.

    Constructors in org.apache.fop.fonts with parameters of type FontTriplet
    Constructor and Description
    `Font(String key, FontTriplet triplet, FontMetrics met, int fontSize)` Main constructor

    Constructor parameters in org.apache.fop.fonts with type arguments of type FontTriplet
    Constructor and Description
    `EmbedFontInfo(FontUris fontUris, boolean kerning, boolean advanced, List<FontTriplet> fontTriplets, String subFontName)` Main constructor
    `EmbedFontInfo(FontUris fontUris, boolean kerning, boolean advanced, List<FontTriplet> fontTriplets, String subFontName, EncodingMode encodingMode, EmbeddingMode embeddingMode, boolean simulateStyle, boolean embedAsType1, boolean useSVG, boolean lazyLoad)` Main constructor

  - ### Uses of FontTriplet in org.apache.fop.fonts.substitute

    Methods in org.apache.fop.fonts.substitute that return FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `protected FontTriplet` | FontQualifier.`bestMatch(FontInfo fontInfo)` Returns the highest priority matching font triplet found in a given font info

    Methods in org.apache.fop.fonts.substitute that return types with arguments of type FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `List<FontTriplet>` | FontQualifier.`getTriplets()`
    `protected List<FontTriplet>` | FontQualifier.`match(FontInfo fontInfo)` Returns a list of matching font triplet found in a given font info

  - ### Uses of FontTriplet in org.apache.fop.render.afp

    Methods in org.apache.fop.render.afp with parameters of type FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `String` | AFPPainter.`getFontKey(FontTriplet triplet)`

  - ### Uses of FontTriplet in org.apache.fop.render.intermediate

    Methods in org.apache.fop.render.intermediate with parameters of type FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | AbstractIFPainter.`drawSVGText(MultiByteFont multiByteFont, FontTriplet triplet, int x, int y, String text, IFState state)`
    `protected String` | AbstractIFPainter.`getFontKey(FontTriplet triplet)`

  - ### Uses of FontTriplet in org.apache.fop.svg.font

    Methods in org.apache.fop.svg.font that return FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `FontTriplet` | FOPGVTFont.`getFontTriplet()`
    `FontTriplet` | FOPGVTFontFamily.`getFontTriplet()`

    Constructors in org.apache.fop.svg.font with parameters of type FontTriplet
    Constructor and Description
    `FOPGVTFontFamily(FontInfo fontInfo, String familyName, FontTriplet triplet, org.apache.batik.gvt.font.GVTFontFace fontFace)`

  - ### Uses of FontTriplet in org.apache.fop.tools.fontlist

    Methods in org.apache.fop.tools.fontlist with parameters of type FontTriplet
    Modifier and Type | Method and Description
    --- | ---
    `void` | FontSpec.`addTriplet(FontTriplet triplet)` Adds a font triplet.

Copyright © 2025 Apache Software Foundation. All rights reserved.