class DFontDecoder extends FontFileWriter
FontFileWriter.FontTrackerfile, header, headerPos, pos, raFile, tracker, writtenBytescmapTag, DIRECTORYENTRYSIZE, DIRECTORYHEADERSIZE, headTag, hheaTag, hmtxTag, maxpTag, nameTag, os_2Tag, ottoTag, postTag, trueTag, ttcfTag, TTCHEADERSIZE, v1ttTag, WOFFDIRECTORYENTRYSIZE, WOFFHEADERSIZE, woffTag| Constructor and Description |
|---|
DFontDecoder() |
| Modifier and Type | Method and Description |
|---|---|
private static long |
createCTFont(java.lang.String fontName) |
void |
decode(java.lang.String fontName) |
private static int |
getCTFontFormat(long font) |
private static byte[] |
getCTFontTable(long font,
int tag) |
private static int[] |
getCTFontTags(long font) |
private static void |
releaseCTFont(long font) |
closeFile, deleteFile, getFile, hasTempPermission, isTracking, openFile, seek, setLength, writeBytes, writeBytes, writeDirectoryEntry, writeHeaderprivate static long createCTFont(java.lang.String fontName)
private static void releaseCTFont(long font)
private static int getCTFontFormat(long font)
private static int[] getCTFontTags(long font)
private static byte[] getCTFontTable(long font,
int tag)
public void decode(java.lang.String fontName)
throws java.io.IOException
java.io.IOException