public interface FVFont
| Modifier and Type | Method and Description |
|---|---|
FontConverter |
createConverterForType(FontVerter.FontFormat fontFormat) |
boolean |
detectFormat(byte[] fontFile) |
byte[] |
getData() |
String |
getName() |
FontProperties |
getProperties() |
List<RuleValidator.FontValidatorError> |
getValidationErrors() |
boolean |
isValid() |
void |
normalize()
Fixes any validation issues with the font.
|
void |
read(byte[] fontFile) |
byte[] getData()
throws IOException
IOException - error generating font databoolean detectFormat(byte[] fontFile)
fontFile - input font file datavoid read(byte[] fontFile) throws IOException
fontFile - reads/parses the input font data into this object.IOException - error reading font dataFontConverter createConverterForType(FontVerter.FontFormat fontFormat) throws FontNotSupportedException
FontNotSupportedExceptionString getName()
boolean isValid()
List<RuleValidator.FontValidatorError> getValidationErrors()
void normalize()
throws IOException
IOException - error reading font dataFontProperties getProperties()
Copyright © 2018. All rights reserved.