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

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

- Packages that use CharacterSet
  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.goca | Contains a collection of AFP font related classes.
  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 CharacterSet in org.apache.fop.afp

    Methods in org.apache.fop.afp with parameters of type CharacterSet
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataStream.`createText(AFPTextDataInfo textDataInfo, int letterSpacing, int wordSpacing, Font font, CharacterSet charSet)` Helper method to create text on the current page, this method delegates to the current presentation text object in order to construct the text.
    `void` | AFPResourceManager.`embedFont(AFPFont afpFont, CharacterSet charSet)` Handles font embedding.

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

    Subclasses of CharacterSet in org.apache.fop.afp.fonts
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FopCharacterSet` A Character set for a normal FOP font

    Fields in org.apache.fop.afp.fonts declared as CharacterSet
    Modifier and Type | Field and Description
    --- | ---
    `protected CharacterSet` | AbstractOutlineFont.`charSet` The character set for this font

    Methods in org.apache.fop.afp.fonts that return CharacterSet
    Modifier and Type | Method and Description
    --- | ---
    `CharacterSet` | CharacterSetBuilder.`build(String characterSetName, String codePageName, String encoding, Typeface typeface, AFPEventProducer eventProducer)` Load the font details and metrics into the CharacterSetMetric object, this will use the actual afp code page and character set files to load the object with the necessary metrics.
    `CharacterSet` | CharacterSetBuilder.`build(String characterSetName, String codePageName, String encoding, Typeface typeface, AFPResourceAccessor accessor, AFPEventProducer eventProducer)`
    `CharacterSet` | CharacterSetBuilder.`buildDBCS(String characterSetName, String codePageName, String encoding, CharacterSetType charsetType, AFPResourceAccessor accessor, AFPEventProducer eventProducer)` Load the font details and metrics into the CharacterSetMetric object, this will use the actual afp code page and character set files to load the object with the necessary metrics.
    `CharacterSet` | CharacterSetBuilder.`buildSBCS(String characterSetName, String codePageName, String encoding, AFPResourceAccessor accessor, AFPEventProducer eventProducer)` Load the font details and metrics into the CharacterSetMetric object, this will use the actual afp code page and character set files to load the object with the necessary metrics.
    `CharacterSet` | AbstractOutlineFont.`getCharacterSet()` Get the character set metrics.
    `CharacterSet` | RasterFont.`getCharacterSet(int sizeInMpt)` Get the character set metrics for the specified point size.
    `abstract CharacterSet` | AFPFont.`getCharacterSet(int size)` Returns the character set for a given size
    `CharacterSet` | AbstractOutlineFont.`getCharacterSet(int size)` Get the character set metrics.

    Methods in org.apache.fop.afp.fonts with parameters of type CharacterSet
    Modifier and Type | Method and Description
    --- | ---
    `void` | RasterFont.`addCharacterSet(int size, CharacterSet characterSet)` Adds the character set for the given point size

    Constructors in org.apache.fop.afp.fonts with parameters of type CharacterSet
    Constructor and Description
    `AbstractOutlineFont(String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer)` Constructor for an outline font.
    `DoubleByteFont(String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer)` Constructor for an double-byte outline font.
    `OutlineFont(String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer)` Construct outline font with specified name and character set.

  - ### Uses of CharacterSet in org.apache.fop.afp.goca

    Constructors in org.apache.fop.afp.goca with parameters of type CharacterSet
    Constructor and Description
    `GraphicsCharacterString(String str, int x, int y, CharacterSet charSet)` Constructor (absolute positioning)

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

    Methods in org.apache.fop.afp.modca with parameters of type CharacterSet
    Modifier and Type | Method and Description
    --- | ---
    `void` | GraphicsObject.`addString(String str, int x, int y, CharacterSet charSet)` Adds a string

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

    Constructors in org.apache.fop.render.afp with parameters of type CharacterSet
    Constructor and Description
    `AFPTrueTypeFont(String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer, String ttc, URI uri, boolean positionByChar)`

Copyright © 2025 Apache Software Foundation. All rights reserved.