public final class OTFParser extends TTFParser
| Constructor and Description |
|---|
OTFParser()
Constructor.
|
OTFParser(boolean isEmbedded)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowCFF() |
OpenTypeFont |
parse(org.apache.pdfbox.io.RandomAccessRead randomAccessRead)
Parse a RandomAccessRead and return a TrueType font.
|
protected TTFTable |
readTable(String tag) |
parseEmbedded, parseTableHeaderspublic OTFParser()
public OTFParser(boolean isEmbedded)
isEmbedded - true if the font is embedded in PDFpublic OpenTypeFont parse(org.apache.pdfbox.io.RandomAccessRead randomAccessRead) throws IOException
TTFParserparse in class TTFParserrandomAccessRead - The RandomAccessREad to be read from. It will be closed before returning.IOException - If there is an error parsing the TrueType font.Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.