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

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

- Packages that use CustomFont
  Package | Description
  --- | ---
  org.apache.fop.fonts | Classes for font handling.
  org.apache.fop.pdf | Classes for handling the low-level creation of PDF documents.
  org.apache.fop.render.java2d | Java2D Renderer which paints rendered pages on Graphics2D instances.
  org.apache.fop.render.pcl.fonts |

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

    Subclasses of CustomFont in org.apache.fop.fonts
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CFFToType1Font`
    `class` | `CIDFont` Abstract base class for CID fonts.
    `class` | `MultiByteFont` Generic MultiByte (CID) font
    `class` | `SingleByteFont` Generic SingleByte font

    Fields in org.apache.fop.fonts declared as CustomFont
    Modifier and Type | Field and Description
    --- | ---
    `protected CustomFont` | FontLoader.`returnFont` the loaded font

    Methods in org.apache.fop.fonts that return CustomFont
    Modifier and Type | Method and Description
    --- | ---
    `CustomFont` | FontLoader.`getFont()` Returns the custom font that was read using this instance of FontLoader.
    `static CustomFont` | FontLoader.`loadFont(FontUris fontUris, String subFontName, boolean embedded, EmbeddingMode embeddingMode, EncodingMode encodingMode, boolean useKerning, boolean useAdvanced, InternalResourceResolver resourceResolver, boolean simulateStyle, boolean embedAsType1, boolean useSVG)` Loads a custom font from a URI.

  - ### Uses of CustomFont in org.apache.fop.pdf

    Constructors in org.apache.fop.pdf with parameters of type CustomFont
    Constructor and Description
    `PDFCFFStreamType0C(CustomFont font)` Main constructor

  - ### Uses of CustomFont in org.apache.fop.render.java2d

    Constructors in org.apache.fop.render.java2d with parameters of type CustomFont
    Constructor and Description
    `CustomFontMetricsMapper(CustomFont fontMetrics)` Construction of this class results in the immediate construction of the underlying `Font`.

  - ### Uses of CustomFont in org.apache.fop.render.pcl.fonts

    Fields in org.apache.fop.render.pcl.fonts declared as CustomFont
    Modifier and Type | Field and Description
    --- | ---
    `protected CustomFont` | PCLFontReader.`font`

    Methods in org.apache.fop.render.pcl.fonts with parameters of type CustomFont
    Modifier and Type | Method and Description
    --- | ---
    `void` | PCLFontReader.`setFont(CustomFont mbFont)`

Copyright © 2025 Apache Software Foundation. All rights reserved.