# Package org.apache.fop.fonts

Classes for font handling.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  CIDSet | Declares methods to retrieve font information (glyph indices, widths, unicode values) from a CID font.
  FontCacheManager | Fop cache (currently only used for font info caching)
  FontCollection | Sets up a set of fonts
  FontConfig | An interface for font configuration information.
  FontConfig.FontConfigParser | An interface for parsing font configuration information.
  FontConfigurator<T> | An abstract FontInfo configurator
  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.
  FontDetector | An interface for the font detecting mechanism.
  FontEventListener | Event listener interface for font-related events.
  FontEventProducer | Event producer for fonts-related events.
  FontMetrics | Main interface for access to font metrics.
  FontTriplet.Matcher | Matcher interface for `FontTriplet`.
  MutableFont | This interface is used to set the values of a font during configuration time.
  SingleByteEncoding | The interface defines a 1-byte character encoding (with 256 characters).
  TextFragment | Encapsulates a sub-sequence (fragement) of a text iterator (or other text source), where begin index and end index are indices into larger text iterator that denote [begin,end) of sub-sequence range.

- Class Summary
  Class | Description
  --- | ---
  AbstractCodePointMapping | Abstract base class for code point mapping classes (1-byte character encodings).
  Base14Font | Base class for all Base 14 fonts.
  CFFToType1Font |
  CIDFont | Abstract base class for CID fonts.
  CIDFull | Provides methods to get font information.
  CIDSubset | Provides methods to get font information.
  CMapSegment | A segment in a cmap table of format 4.
  CodePointMapping |
  CustomFont | Abstract base class for custom fonts loaded from files, for example.
  CustomFontCollection | Sets up a set of custom (embedded) fonts
  DefaultFontConfig | The font configuration data for the more generic fonts such as TTF and Type1, that are used by most the renderers.
  DefaultFontConfig.DefaultFontConfigParser | Parses the morge generic font information.
  DefaultFontConfig.Directory | The directory to find fonts within.
  DefaultFontConfig.Font | Represents a font object within the FOP conf.
  DefaultFontConfigurator | The default configurator for fonts.
  EmbedFontInfo | FontInfo contains meta information on fonts (where is the metrics file etc.) TODO: We need to remove this class and think about more intelligent design patterns (Data classes => Procedural code)
  Font | This class holds font state information and provides access to the font metrics.
  FontAdder | Adds a list of fonts to a given font info list
  FontCache | Fop cache (currently only used for font info caching)
  FontCacheManagerFactory | A factory that provides the font caching manager mechanism.
  FontDetectorFactory | A factory that provides the font detecting machanism.
  FontEventAdapter | Event listener interface for font-related events.
  FontEventProducer.Provider | Provider class for the event producer.
  FontInfo | The FontInfo holds font information for the layout and rendering of a fo document.
  FontLoader | Base class for font loaders.
  FontManager | The manager of fonts.
  FontManagerConfigurator | Configurator of the FontManager
  FontSelector | Helper class for automatic font selection.
  FontSetup | Default fonts for FOP application; currently this uses PDF's fonts by default.
  FontTriplet | FontTriplet contains information on name, style and weight of one font
  FontType | This class enumerates all supported font types.
  FontUris |
  FontUtil | Font utilities.
  GlyphMapping | Stores the mapping of a text fragment to glyphs, along with various information.
  Glyphs | Deprecated Use the Glyphs class from XML Graphics Commons instead!
  LazyFont | This class is used to defer the loading of a font until it is really used.
  MultiByteFont | Generic MultiByte (CID) font
  NamedCharacter | Represents an named character with character name (from the Adobe glyph list) and a Unicode sequence that this character represents.
  SimpleSingleByteEncoding | A simple implementation of the OneByteEncoding mostly used for encodings that are constructed on-the-fly.
  SingleByteFont | Generic SingleByte font
  SingleByteFont.UnencodedCharacter |
  Typeface | Base class for font classes
  XMLFontMetricsReader | Deprecated

- Enum Summary
  Enum | Description
  --- | ---
  CIDFontType | This class enumerates all supported CID font types.
  EmbeddingMode | This enumerates the embedding mode of fonts; full; subset; auto (auto defaults to full for Type 1 fonts and subset for TrueType fonts.
  EncodingMode | This class enumerates all supported encoding modes for fonts: auto, single-byte and CID.

## Package org.apache.fop.fonts Description

Classes for font handling. Subpackages contain command line applications for font metrics generation, font parsing classes etc.

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