Uses of Class org.apache.fop.fonts.FontType (Apache FOP 2.7 API)
Date: 2022-01-12

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

- Packages that use FontType
  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.afp | An AFP Renderer implementation and supporting classes.
  org.apache.fop.render.java2d | Java2D Renderer which paints rendered pages on Graphics2D instances.

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

    Methods in org.apache.fop.afp.fonts that return FontType
    Modifier and Type | Method and Description
    --- | ---
    `FontType` | AFPFont.`getFontType()` Returns the type of the font.

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

    Fields in org.apache.fop.fonts declared as FontType
    Modifier and Type | Field and Description
    --- | ---
    `static FontType` | FontType.`CIDTYPE0`
    `static FontType` | FontType.`MMTYPE1` Adobe Multiple Master Type 1 fonts
    `static FontType` | FontType.`OTHER` Collective identifier for "other" font types
    `static FontType` | FontType.`TRUETYPE` TrueType fonts
    `static FontType` | FontType.`TYPE0` Adobe Type 0 fonts (composite font)
    `static FontType` | FontType.`TYPE1` Adobe Type 1 fonts
    `static FontType` | FontType.`TYPE1C`
    `static FontType` | FontType.`TYPE3` Adobe Type 3 fonts ("user-defined" fonts)

    Methods in org.apache.fop.fonts that return FontType
    Modifier and Type | Method and Description
    --- | ---
    `static FontType` | FontType.`byName(java.lang.String name)` Returns the FontType by name.
    `static FontType` | FontType.`byValue(int value)` Returns the FontType by value.
    `FontType` | LazyFont.`getFontType()` Returns the type of the font.
    `FontType` | CustomFont.`getFontType()` Returns the type of the font.
    `FontType` | FontMetrics.`getFontType()` Returns the type of the font.

    Methods in org.apache.fop.fonts with parameters of type FontType
    Modifier and Type | Method and Description
    --- | ---
    `void` | CustomFont.`setFontType(FontType fontType)` Sets the font type.
    `void` | MutableFont.`setFontType(FontType fontType)` Sets the font type.

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

    Methods in org.apache.fop.fonts.base14 that return FontType
    Modifier and Type | Method and Description
    --- | ---
    `FontType` | CourierBoldOblique.`getFontType()`
    `FontType` | HelveticaBoldOblique.`getFontType()`
    `FontType` | TimesBoldItalic.`getFontType()`
    `FontType` | HelveticaBold.`getFontType()`
    `FontType` | CourierOblique.`getFontType()`
    `FontType` | HelveticaOblique.`getFontType()`
    `FontType` | CourierBold.`getFontType()`
    `FontType` | ZapfDingbats.`getFontType()`
    `FontType` | TimesBold.`getFontType()`
    `FontType` | Helvetica.`getFontType()`
    `FontType` | TimesItalic.`getFontType()`
    `FontType` | Symbol.`getFontType()`
    `FontType` | Courier.`getFontType()`
    `FontType` | TimesRoman.`getFontType()`

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

    Methods in org.apache.fop.pdf with parameters of type FontType
    Modifier and Type | Method and Description
    --- | ---
    `static PDFFont` | PDFFont.`createFont(java.lang.String fontname, FontType subtype, java.lang.String basefont, java.lang.Object encoding)` factory method with the basic parameters
    `protected PDFName` | PDFFont.`getPDFNameForFontType(FontType fontType)` Returns the PDF name for a certain font type.
    `void` | PDFFontDescriptor.`setFontFile(FontType subtype, AbstractPDFStream fontfile)` Set the optional font file stream

    Constructors in org.apache.fop.pdf with parameters of type FontType
    Constructor and Description
    `PDFFont(java.lang.String fontname, FontType subtype, java.lang.String basefont, java.lang.Object encoding)` create the /Font object
    `PDFFontNonBase14(java.lang.String fontname, FontType subtype, java.lang.String basefont, java.lang.Object encoding)` Create the /Font object

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

    Methods in org.apache.fop.render.afp that return FontType
    Modifier and Type | Method and Description
    --- | ---
    `FontType` | AFPFontConfig.AFPTrueTypeFont.`getFontType()`

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

    Methods in org.apache.fop.render.java2d that return FontType
    Modifier and Type | Method and Description
    --- | ---
    `FontType` | SystemFontMetricsMapper.`getFontType()` Returns the type of the font.
    `FontType` | CustomFontMetricsMapper.`getFontType()` Returns the type of the font.

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