## Uses of Class
org.apache.fop.afp.fonts.AFPFont

- Packages that use AFPFont
  Package | Description
  --- | ---
  org.apache.fop.afp | Contains an AFP library.
  org.apache.fop.afp.fonts | Contains a collection of AFP Graphics Object Content Architecture (GOCA) structured objects.
  org.apache.fop.afp.modca | Contains a collection of AFP Mixed Object Document Content Architecture (MO:DCA) structured objects.
  org.apache.fop.render.afp | An AFP Renderer implementation and supporting classes.

- - ### Uses of AFPFont in org.apache.fop.afp

    Methods in org.apache.fop.afp with parameters of type AFPFont
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataStream.`createFont(int fontReference, AFPFont font, int size)` Helper method to create a map coded font object on the current page, this method delegates the construction of the map coded font object to the active environment group on the current page.
    `void` | AFPResourceManager.`embedFont(AFPFont afpFont, CharacterSet charSet)` Handles font embedding.

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

    Subclasses of AFPFont in org.apache.fop.afp.fonts
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractOutlineFont` A font defined as a set of lines and curves as opposed to a bitmap font.
    `class` | `DoubleByteFont` Implementation of `AbstractOutlineFont` that supports double-byte fonts (CID Keyed font (Type 0)).
    `class` | `OutlineFont` Default implementation of AbstractOutlineFont.
    `class` | `RasterFont` A font where each character is stored as an array of pixels (a bitmap).

    Methods in org.apache.fop.afp.fonts that return AFPFont
    Modifier and Type | Method and Description
    --- | ---
    `AFPFont` | AFPFontInfo.`getAFPFont()` Returns the afp font
    `AFPFont` | AFPFontAttributes.`getFont()` Return the font

    Methods in org.apache.fop.afp.fonts with parameters of type AFPFont
    Modifier and Type | Method and Description
    --- | ---
    `AFPFontAttributes` | AFPPageFonts.`registerFont(String fontName, AFPFont font, int fontSize)` Registers a font on the current page and returns font attributes

    Constructors in org.apache.fop.afp.fonts with parameters of type AFPFont
    Constructor and Description
    `AFPFontAttributes(String fontKey, AFPFont font, int pointSize)` Constructor for the AFPFontAttributes
    `AFPFontInfo(AFPFont afpFont, List<FontTriplet> tripletList)` Main constructor

  - ### Uses of AFPFont in org.apache.fop.afp.modca

    Methods in org.apache.fop.afp.modca with parameters of type AFPFont
    Modifier and Type | Method and Description
    --- | ---
    `void` | MapCodedFont.`addFont(int fontReference, AFPFont font, int size, int orientation)` Add a font definition on the the map coded font object.
    `void` | AbstractPageObject.`createFont(int fontReference, AFPFont font, int size)` Helper method to create a map coded font object on the current page, this method delegates the construction of the map coded font object to the active environment group on the page.
    `void` | ActiveEnvironmentGroup.`createFont(int fontRef, AFPFont font, int size, int orientation)` Method to create a map coded font object

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

    Subclasses of AFPFont in org.apache.fop.render.afp
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `AFPFontConfig.AFPTrueTypeFont`

Copyright © 2025 Apache Software Foundation. All rights reserved.