| Modifier and Type | Class and Description |
|---|---|
static class |
Woff2Font.Woff2Table |
| Constructor and Description |
|---|
Woff2Font() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFontTable(byte[] data,
String tag,
long checksum) |
FontConverter |
createConverterForType(FontVerter.FontFormat fontFormat) |
WoffTable |
createTable() |
boolean |
detectFormat(byte[] fontFile) |
FontProperties |
getProperties() |
void |
read(byte[] fontFile) |
addFont, createBlankFont, getCompressedSize, getData, getFonts, getName, getTables, getValidationErrors, isValid, normalizepublic WoffTable createTable()
createTable in class WoffFontpublic void addFontTable(byte[] data,
String tag,
long checksum)
addFontTable in class WoffFontpublic boolean detectFormat(byte[] fontFile)
fontFile - input font file datapublic void read(byte[] fontFile)
throws IOException
fontFile - reads/parses the input font data into this object.IOException - error reading font datapublic FontProperties getProperties()
public FontConverter createConverterForType(FontVerter.FontFormat fontFormat) throws FontNotSupportedException
FontNotSupportedExceptionCopyright © 2018. All rights reserved.