# Package org.apache.fontbox.ttf

This package contains classes to parse a TTF file.

See: Description

Interface Summary
CmapLookup: An interface that abstracts the cid <-> codepoint lookup functionality of cmap.
GlyphDescription: Specifies access to glyph description classes, simple and composite.
TrueTypeCollection.TrueTypeFontHeadersProcessor: Implement the callback method to call `TrueTypeCollection.processAllFontHeaders(File, TrueTypeFontHeadersProcessor)`.
TrueTypeCollection.TrueTypeFontProcessor: Implement the callback method to call `TrueTypeCollection.processAllFonts(TrueTypeFontProcessor)`.

Class Summary
CFFTable: PostScript font program (compact font format).
CmapSubtable: A "cmap" subtable.
CmapTable: This 'cmap'-table is a required table in a TrueType font.
DigitalSignatureTable: A table in a true type font.
FontHeaders: To improve performance of `FileSystemFontProvider.scanFonts(...)`, this class is used both as a marker (to skip unused data) and as a storage for collected data.
GlyfCompositeComp: This class is based on code from Apache Batik, a subproject of Apache XMLGraphics.
GlyfCompositeDescript: Glyph description for composite glyphs.
GlyfDescript: This class is based on code from Apache Batik, a subproject of Apache XMLGraphics.
GlyfSimpleDescript: This class is based on code from Apache Batik, a subproject of Apache XMLGraphics.
GlyphData: A glyph data record in the glyf table.
GlyphSubstitutionTable: A glyph substitution 'GSUB' table in a TrueType or OpenType font.
GlyphTable: This 'glyf'-table is a required table in a TrueType font.
HeaderTable: This 'head'-table is a required table in a TrueType font.
HorizontalHeaderTable: This 'hhea'-table is a required table in a TrueType font.
HorizontalMetricsTable: This 'hmtx'-table is a required table in a TrueType font.
IndexToLocationTable: This 'loca'-table is a required table in a TrueType font.
KerningSubtable: A 'kern' table in a true type font.
KerningTable: A 'kern' table in a true type font.
MaximumProfileTable: This 'maxp'-table is a required table in a TrueType font.
NameRecord: A name record in the name table.
NamingTable: This 'name'-table is a required table in a TrueType font.
OpenTypeFont: An OpenType (OTF/TTF) font.
OpenTypeScript: A class for mapping Unicode codepoints to OpenType script tags
OS2WindowsMetricsTable: The OS/2 and Windows Metrics Table in a TrueType font, see here.
OTFParser: OpenType font file parser.
OTLTable: OpenType Layout (OTL) table.
PostScriptTable: This 'post'-table is a required table in a TrueType-font.
SubstitutingCmapLookup: A cmap lookup that performs substitution via the 'GSUB' table.
TrueTypeCollection: A TrueType Collection, now more properly known as a "Font Collection" as it may contain either TrueType or OpenType fonts.
TrueTypeFont: A TrueType font file.
TTFParser: TrueType font file parser.
TTFSubsetter: Subsetter for TrueType (TTF) fonts.
TTFTable: A table in a true type font.
VerticalHeaderTable: A vertical header 'vhea' table in a TrueType or OpenType font.
VerticalMetricsTable: A vertical metrics 'vmtx' table in a TrueType or OpenType font.
VerticalOriginTable: A vertical origin 'VORG' table in an OpenType font.
WGL4Names: Windows Glyph List 4 (WGL4) names for Mac glyphs.

## Package org.apache.fontbox.ttf Description

This package contains classes to parse a TTF file.