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

- Packages that use Typeface
  Package | Description
  --- | ---
  org.apache.fop.afp.fonts | Contains a collection of AFP Graphics Object Content Architecture (GOCA) structured objects.
  org.apache.fop.fonts | Classes for font handling.
  org.apache.fop.fonts.base14 | Base 14 fonts used for PDF and PostScript.
  org.apache.fop.render.java2d | Java2D Renderer which paints rendered pages on Graphics2D instances.
  org.apache.fop.render.ps | PostScript Renderer

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

    Subclasses of Typeface 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` | `AFPFont` All implementations of AFP fonts should extend this base class, the object implements the FontMetrics information.
    `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 with parameters of type Typeface
    Modifier and Type | Method and Description
    --- | ---
    `CharacterSet` | CharacterSetBuilder.`build(java.lang.String characterSetName, java.lang.String codePageName, java.lang.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.

    Constructors in org.apache.fop.afp.fonts with parameters of type Typeface
    Constructor and Description
    `FopCharacterSet(java.lang.String codePage, java.lang.String encoding, java.lang.String name, Typeface charSet, AFPEventProducer eventProducer)` Constructor for the CharacterSetMetric object, the character set is used to load the font information from the actual AFP font.

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

    Subclasses of Typeface in org.apache.fop.fonts
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Base14Font` Base class for all Base 14 fonts.
    `class` | `CIDFont` Abstract base class for CID fonts.
    `class` | `CustomFont` Abstract base class for custom fonts loaded from files, for example.
    `class` | `LazyFont` This class is used to defer the loading of a font until it is really used.
    `class` | `MultiByteFont` Generic MultiByte (CID) font
    `class` | `SingleByteFont` Generic SingleByte font

    Methods in org.apache.fop.fonts that return Typeface
    Modifier and Type | Method and Description
    --- | ---
    `Typeface` | FontReader.`getFont()` Get the generated font object
    `Typeface` | LazyFont.`getRealFont()` Gets the real font.

    Methods in org.apache.fop.fonts that return types with arguments of type Typeface
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<java.lang.String,Typeface>` | FontInfo.`getFonts()` Gets a Map of all registered fonts.
    `java.util.Map<java.lang.String,Typeface>` | FontInfo.`getUsedFonts()` This is used by the renderers to retrieve all the fonts used in the document.

  - ### Uses of Typeface in org.apache.fop.fonts.base14

    Subclasses of Typeface in org.apache.fop.fonts.base14
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Courier`
    `class` | `CourierBold`
    `class` | `CourierBoldOblique`
    `class` | `CourierOblique`
    `class` | `Helvetica`
    `class` | `HelveticaBold`
    `class` | `HelveticaBoldOblique`
    `class` | `HelveticaOblique`
    `class` | `Symbol`
    `class` | `TimesBold`
    `class` | `TimesBoldItalic`
    `class` | `TimesItalic`
    `class` | `TimesRoman`
    `class` | `ZapfDingbats`

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

    Subclasses of Typeface in org.apache.fop.render.java2d
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CustomFontMetricsMapper` FontMetricsMapper that delegates most methods to an underlying `FontMetrics` instance.
    `class` | `SystemFontMetricsMapper` This class implements org.apache.fop.layout.FontMetrics and is added to the hash table in FontInfo.

  - ### Uses of Typeface in org.apache.fop.render.ps

    Method parameters in org.apache.fop.render.ps with type arguments of type Typeface
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Map` | PSFontUtils.`determineSuppliedFonts(org.apache.xmlgraphics.ps.dsc.ResourceTracker resTracker, FontInfo fontInfo, java.util.Map<java.lang.String,Typeface> fonts)` Determines the set of fonts that will be supplied with the PS file and registers them with the resource tracker.
    `static java.util.Map` | PSFontUtils.`writeFontDict(org.apache.xmlgraphics.ps.PSGenerator gen, FontInfo fontInfo, java.util.Map<java.lang.String,Typeface> fonts, PSEventProducer eventProducer)` Generates the PostScript code for the font dictionary.

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.