## Uses of Interface
org.apache.fop.fonts.FontMetrics

- Packages that use FontMetrics
  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.pdf | Classes for handling the low-level creation of PDF documents.
  org.apache.fop.render | Generic renderer interface.
  org.apache.fop.render.afp | An AFP Renderer implementation and supporting classes.
  org.apache.fop.render.java2d | Java2D Renderer which paints rendered pages on Graphics2D instances.
  org.apache.fop.tools.fontlist |

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

    Classes in org.apache.fop.afp.fonts that implement FontMetrics
    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).

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

    Subinterfaces of FontMetrics in org.apache.fop.fonts
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `FontDescriptor` This interface enhances the font metrics interface with access methods to value needed to register fonts in various target formats like PDF or PostScript.

    Classes in org.apache.fop.fonts that implement FontMetrics
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Base14Font` Base class for all Base 14 fonts.
    `class` | `CFFToType1Font`
    `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
    `class` | `Typeface` Base class for font classes

    Methods in org.apache.fop.fonts that return FontMetrics
    Modifier and Type | Method and Description
    --- | ---
    `FontMetrics` | Font.`getFontMetrics()` Returns the associated font metrics object.
    `FontMetrics` | FontInfo.`getMetricsFor(java.lang.String fontName)` Returns the FontMetrics for a particular font

    Methods in org.apache.fop.fonts with parameters of type FontMetrics
    Modifier and Type | Method and Description
    --- | ---
    `void` | FontInfo.`addMetrics(java.lang.String internalFontKey, FontMetrics metrics)` Adds font metrics for a specific font.

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

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

    Classes in org.apache.fop.fonts.base14 that implement FontMetrics
    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 FontMetrics in org.apache.fop.pdf

    Methods in org.apache.fop.pdf with parameters of type FontMetrics
    Modifier and Type | Method and Description
    --- | ---
    `PDFFont` | PDFFactory.`makeFont(java.lang.String fontname, java.lang.String basefont, java.lang.String encoding, FontMetrics metrics, FontDescriptor descriptor)` Make a Type1 /Font object.

  - ### Uses of FontMetrics in org.apache.fop.render

    Methods in org.apache.fop.render with parameters of type FontMetrics
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractPathOrientedRenderer.`renderTextDecoration(FontMetrics fm, int fontsize, InlineArea inline, int baseline, int startx)` Paints the text decoration marks.

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

    Classes in org.apache.fop.render.afp that implement FontMetrics
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `AFPFontConfig.AFPTrueTypeFont`

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

    Subinterfaces of FontMetrics in org.apache.fop.render.java2d
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `FontMetricsMapper` Adds method to retrieve the actual `Font` for use by `Java2DRenderer`s.

    Classes in org.apache.fop.render.java2d that implement FontMetrics
    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 FontMetrics in org.apache.fop.tools.fontlist

    Methods in org.apache.fop.tools.fontlist that return FontMetrics
    Modifier and Type | Method and Description
    --- | ---
    `FontMetrics` | FontSpec.`getFontMetrics()` Returns the font metrics.

    Constructors in org.apache.fop.tools.fontlist with parameters of type FontMetrics
    Constructor and Description
    `FontSpec(java.lang.String key, FontMetrics metrics)` Creates a new font spec.

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