| Package | Description |
|---|---|
| org.apache.fontbox.ttf |
This package contains classes to parse a TTF file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CFFTable
PostScript font program (compact font format).
|
class |
CmapTable
This 'cmap'-table is a required table in a TrueType font.
|
class |
DigitalSignatureTable
A table in a true type font.
|
class |
GlyphSubstitutionTable
A glyph substitution 'GSUB' table in a TrueType or OpenType font.
|
class |
GlyphTable
This 'glyf'-table is a required table in a TrueType font.
|
class |
HeaderTable
This 'head'-table is a required table in a TrueType font.
|
class |
HorizontalHeaderTable
This 'hhea'-table is a required table in a TrueType font.
|
class |
HorizontalMetricsTable
This 'hmtx'-table is a required table in a TrueType font.
|
class |
IndexToLocationTable
This 'loca'-table is a required table in a TrueType font.
|
class |
KerningTable
A 'kern' table in a true type font.
|
class |
MaximumProfileTable
This 'maxp'-table is a required table in a TrueType font.
|
class |
NamingTable
This 'name'-table is a required table in a TrueType font.
|
class |
OS2WindowsMetricsTable
The OS/2 and Windows Metrics Table in a TrueType font, see
here.
|
class |
OTLTable
OpenType Layout (OTL) table.
|
class |
PostScriptTable
This 'post'-table is a required table in a TrueType-font.
|
class |
VerticalHeaderTable
A vertical header 'vhea' table in a TrueType or OpenType font.
|
class |
VerticalMetricsTable
A vertical metrics 'vmtx' table in a TrueType or OpenType font.
|
class |
VerticalOriginTable
A vertical origin 'VORG' table in an OpenType font.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,TTFTable> |
TrueTypeFont.tables |
| Modifier and Type | Method and Description |
|---|---|
protected TTFTable |
TrueTypeFont.getTable(String tag)
This will get the table for the given tag.
|
protected TTFTable |
OTFParser.readTable(String tag) |
protected TTFTable |
TTFParser.readTable(String tag) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TTFTable> |
TrueTypeFont.getTableMap()
Get all of the tables.
|
Collection<TTFTable> |
TrueTypeFont.getTables()
Get all of the tables.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
TrueTypeFont.getTableBytes(TTFTable table)
Returns the raw bytes of the given table.
|
byte[] |
TrueTypeFont.getTableNBytes(TTFTable table,
int limit)
Returns the raw bytes of the given table, no more than
limit bytes. |
Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.