Package | Description |
---|---|
org.apache.fontbox.ttf |
This package contains classes to parse a TTF file.
|
Modifier and Type | Class | Description |
---|---|---|
class |
OpenTypeFont |
An OpenType (OTF/TTF) font.
|
Modifier and Type | Field | Description |
---|---|---|
protected TrueTypeFont |
TTFTable.font |
The font which contains this table.
|
Modifier and Type | Method | Description |
---|---|---|
TrueTypeFont |
TrueTypeCollection.getFontByName(String name) |
Get a TT font from a collection.
|
TrueTypeFont |
TTFParser.parse(File ttfFile) |
Parse a file and return a TrueType font.
|
TrueTypeFont |
TTFParser.parse(InputStream inputStream) |
Parse an input stream and return a TrueType font.
|
TrueTypeFont |
TTFParser.parse(String ttfFile) |
Parse a file and return a TrueType font.
|
TrueTypeFont |
TTFParser.parseEmbedded(InputStream inputStream) |
Parse an input stream and return a TrueType font that is to be embedded.
|
Modifier and Type | Method | Description |
---|---|---|
void |
NameRecord.initData(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
TrueTypeCollection.TrueTypeFontProcessor.process(TrueTypeFont ttf) |
|
void |
CFFTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
CmapTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
GlyphTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
HeaderTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
HorizontalHeaderTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
HorizontalMetricsTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
IndexToLocationTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
KerningTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
MaximumProfileTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
NamingTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
OS2WindowsMetricsTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
PostScriptTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
VerticalHeaderTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
VerticalMetricsTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
VerticalOriginTable.read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
protected TTFTable |
OTFParser.readTable(TrueTypeFont font,
String tag) |
|
protected TTFTable |
TTFParser.readTable(TrueTypeFont font,
String tag) |
Constructor | Description |
---|---|
TTFSubsetter(TrueTypeFont ttf) |
Creates a subsetter for the given font.
|
TTFSubsetter(TrueTypeFont ttf,
List<String> tables) |
Creates a subsetter for the given font.
|
Copyright © 2008–2018. All rights reserved.