Package org.apache.fontbox.ttf
This package contains classes to parse a TTF file.
-
Interface Summary Interface Description CmapLookup An interface that abstracts the cid <-> codepoint lookup functionality of cmap.GlyphDescription Specifies access to glyph description classes, simple and composite.KerningSubtable.PairData TrueTypeCollection.TrueTypeFontHeadersProcessor Implement the callback method to callTrueTypeCollection.processAllFontHeaders(File, TrueTypeFontHeadersProcessor).TrueTypeCollection.TrueTypeFontProcessor Implement the callback method to callTrueTypeCollection.processAllFonts(TrueTypeFontProcessor). -
Class Summary Class Description CFFTable PostScript font program (compact font format).CFFTable.CFFBytesource Allows bytes to be re-read later by CFFParser.CmapSubtable A "cmap" subtable.CmapSubtable.SubHeader Class used to manage CMap - Format 2.CmapTable This 'cmap'-table is a required table in a TrueType font.DigitalSignatureTable A table in a true type font.FontHeaders To improve performance ofFileSystemFontProvider.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.GlyphRenderer This class provides a glyph to GeneralPath conversion for true type fonts.GlyphRenderer.Point This class represents one point of a glyph.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.KerningSubtable.PairData0Format0 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 tagsOS2WindowsMetricsTable 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.RandomAccessReadDataStream An implementation of the TTFDataStream using RandomAccessRead as source.RandomAccessReadUnbufferedDataStream In contrast toRandomAccessReadDataStream, this class doesn't pre-loadRandomAccessReadinto abyte[], it works withRandomAccessReaddirectly.RandomAccessReadUnbufferedDataStream.RandomAccessReadNonClosingInputStream 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.TTCDataStream A wrapper for a TTF stream inside a TTC file, does not close the underlying shared stream.TTFDataStream An abstract class to read a data stream.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.