com.itextpdf.text.pdf.fonts.otf
Class OpenTypeFontTableReader
java.lang.Object
com.itextpdf.text.pdf.fonts.otf.OpenTypeFontTableReader
- Direct Known Subclasses:
- GlyphPositioningTableReader, GlyphSubstitutionTableReader
public abstract class OpenTypeFontTableReader
- extends java.lang.Object
- Author:
- Palash Ray
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final Logger LOG
rf
protected final RandomAccessFileOrArray rf
tableLocation
protected final int tableLocation
OpenTypeFontTableReader
public OpenTypeFontTableReader(java.lang.String fontFilePath,
int tableLocation)
throws java.io.IOException
- Throws:
java.io.IOException
getSupportedLanguage
public Language getSupportedLanguage()
throws FontReadingException
- Throws:
FontReadingException
startReadingTable
protected final void startReadingTable()
throws FontReadingException
- This is the starting point of the class. A sub-class must call this
method to start getting call backs to the
readSubTable(int, int)
method.
- Throws:
FontReadingException
readSubTable
protected abstract void readSubTable(int lookupType,
int subTableLocation)
throws java.io.IOException
- Throws:
java.io.IOException
readCoverageFormat
protected final java.util.List<java.lang.Integer> readCoverageFormat(int coverageLocation)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2013. All Rights Reserved.