| Modifier and Type | Field and Description |
|---|---|
protected List<FVFont> |
fonts |
protected WoffHeader |
header |
protected List<WoffTable> |
tables |
| Constructor and Description |
|---|
WoffFont() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFont(FVFont adapter) |
abstract void |
addFontTable(byte[] unpaddedData,
String tag,
long checksum) |
static WoffFont |
createBlankFont(int version) |
abstract WoffTable |
createTable() |
int |
getCompressedSize() |
byte[] |
getData() |
List<FVFont> |
getFonts() |
String |
getName() |
List<WoffTable> |
getTables() |
List<RuleValidator.FontValidatorError> |
getValidationErrors() |
boolean |
isValid() |
void |
normalize()
Fixes any validation issues with the font.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateConverterForType, detectFormat, getProperties, readprotected WoffHeader header
public static WoffFont createBlankFont(int version)
public abstract WoffTable createTable()
public abstract void addFontTable(byte[] unpaddedData,
String tag,
long checksum)
public byte[] getData()
throws IOException
getData in interface FVFontIOExceptionpublic void addFont(FVFont adapter)
public int getCompressedSize()
throws IOException
IOExceptionpublic void normalize()
FVFontpublic boolean isValid()
public List<RuleValidator.FontValidatorError> getValidationErrors()
getValidationErrors in interface FVFontCopyright © 2016. All rights reserved.