| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| private TrueTypeFont | Returns: A TrueType font.The TTF file. raf)Parse a file and get a true type font. |
| pack-priv TrueTypeFont | |
| public TrueTypeFont | Returns: A TrueType font.The RandomAccessREad to be read from. It will be closed before returning. randomAccessRead)Parse a RandomAccessRead and return a TrueType font. |
| pack-priv TrueTypeFont | |
| public TrueTypeFont | Returns: A TrueType font.The TTF data stream to parse from. It will be closed before returning. inputStream)Parse an input stream and return a TrueType font that is to be embedded. |
| public FontHeaders | Returns: TrueType font headers.The RandomAccessREad to be read from. It will be closed before returning. randomAccessRead)Parse a RandomAccessRead and return a TrueType font. |
| pack-priv FontHeaders | |
| private void | parseTables(TrueTypeFont
the TrueTypeFont instance holding the parsed data. font)Parse all tables and check if all needed tables are present. |
| protected TTFTable | |
| private TTFTable |
| isEmbedded | back to summary |
|---|---|
| private boolean isEmbedded | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| TTFParser | back to summary |
|---|---|
| public TTFParser() Constructor. | |
| TTFParser | back to summary |
|---|---|
| public TTFParser(boolean isEmbedded) Constructor.
| |
| allowCFF | back to summary |
|---|---|
| protected boolean allowCFF() | |
| createFontWithTables | back to summary |
|---|---|
| private TrueTypeFont createFontWithTables(TTFDataStream raf) throws IOException Parse a file and get a true type font.
| |
| newFont | back to summary |
|---|---|
| pack-priv TrueTypeFont newFont(TTFDataStream raf) | |
| parse | back to summary |
|---|---|
| public TrueTypeFont parse(RandomAccessRead randomAccessRead) throws IOException Parse a RandomAccessRead and return a TrueType font.
| |
| parse | back to summary |
|---|---|
| pack-priv TrueTypeFont parse(TTFDataStream raf) throws IOException | |
| parseEmbedded | back to summary |
|---|---|
| public TrueTypeFont parseEmbedded(InputStream inputStream) throws IOException Parse an input stream and return a TrueType font that is to be embedded.
| |
| parseTableHeaders | back to summary |
|---|---|
| public FontHeaders parseTableHeaders(RandomAccessRead randomAccessRead) throws IOException Parse a RandomAccessRead and return a TrueType font.
| |
| parseTableHeaders | back to summary |
|---|---|
| pack-priv FontHeaders parseTableHeaders(TTFDataStream raf) throws IOException Based on
| |
| parseTables | back to summary |
|---|---|
| private void parseTables(TrueTypeFont font) throws IOException Parse all tables and check if all needed tables are present.
| |
| readTable | back to summary |
|---|---|
| protected TTFTable readTable(String tag) | |
| readTableDirectory | back to summary |
|---|---|
| private TTFTable readTableDirectory(TTFDataStream raf) throws IOException | |