Top Description Interfaces Classes
module org.apache.fontbox

Package org.apache.fontbox.ttf


This package contains classes to parse a TTF file.

Interface Summary

Modifier and TypeInterface and Description
public interface
CmapLookup

An interface that abstracts the cid <-> codepoint lookup functionality of cmap.

public interface
GlyphDescription

Specifies access to glyph description classes, simple and composite.

Class Summary

Modifier and TypeClass and Description
public class
CFFTable

PostScript font program (compact font format).

public class
CmapSubtable

A "cmap" subtable.

public class
CmapTable

This 'cmap'-table is a required table in a TrueType font.

public class
DigitalSignatureTable

A table in a true type font.

public class
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.

public class
GlyfCompositeComp

This class is based on code from Apache Batik a subproject of Apache XMLGraphics.

public class
GlyfCompositeDescript

Glyph description for composite glyphs.

public abstract class
GlyfDescript

This class is based on code from Apache Batik a subproject of Apache XMLGraphics.

public class
GlyfSimpleDescript

This class is based on code from Apache Batik a subproject of Apache XMLGraphics.

public class
GlyphData

A glyph data record in the glyf table.

pack-priv class
GlyphRenderer

This class provides a glyph to GeneralPath conversion for true type fonts.

public class
GlyphSubstitutionTable

A glyph substitution 'GSUB' table in a TrueType or OpenType font.

public class
GlyphTable

This 'glyf'-table is a required table in a TrueType font.

public class
HeaderTable

This 'head'-table is a required table in a TrueType font.

public class
HorizontalHeaderTable

This 'hhea'-table is a required table in a TrueType font.

public class
HorizontalMetricsTable

This 'hmtx'-table is a required table in a TrueType font.

public class
IndexToLocationTable

This 'loca'-table is a required table in a TrueType font.

public class
KerningSubtable

A 'kern' table in a true type font.

public class
KerningTable

A 'kern' table in a true type font.

public class
MaximumProfileTable

This 'maxp'-table is a required table in a TrueType font.

public class
NameRecord

A name record in the name table.

public class
NamingTable

This 'name'-table is a required table in a TrueType font.

public class
OpenTypeFont

An OpenType (OTF/TTF) font.

public class
OpenTypeScript

A class for mapping Unicode codepoints to OpenType script tags

public class
OS2WindowsMetricsTable

The OS/2 and Windows Metrics Table in a TrueType font, see here.

public class
OTFParser

OpenType font file parser.

public class
OTLTable

OpenType Layout (OTL) table.

public class
PostScriptTable

This 'post'-table is a required table in a TrueType-font.

pack-priv class
RandomAccessReadDataStream

An implementation of the TTFDataStream using RandomAccessRead as source.

pack-priv class
RandomAccessReadUnbufferedDataStream

In contrast to RandomAccessReadDataStream, this class doesn't pre-load RandomAccessRead into a byte[], it works with RandomAccessRead directly.

public class
SubstitutingCmapLookup

A cmap lookup that performs substitution via the 'GSUB' table.

public class
TrueTypeCollection

A TrueType Collection, now more properly known as a "Font Collection" as it may contain either TrueType or OpenType fonts.

public class
TrueTypeFont

A TrueType font file.

pack-priv class
TTCDataStream

A wrapper for a TTF stream inside a TTC file, does not close the underlying shared stream.

pack-priv abstract class
TTFDataStream

An abstract class to read a data stream.

public class
TTFParser

TrueType font file parser.

public class
TTFSubsetter

Subsetter for TrueType (TTF) fonts.

public class
TTFTable

A table in a true type font.

public class
VerticalHeaderTable

A vertical header 'vhea' table in a TrueType or OpenType font.

public class
VerticalMetricsTable

A vertical metrics 'vmtx' table in a TrueType or OpenType font.

public class
VerticalOriginTable

A vertical origin 'VORG' table in an OpenType font.

public class
WGL4Names

Windows Glyph List 4 (WGL4) names for Mac glyphs.