public class ObfuscatedFontPart extends AbstractFontPart
contentType, partName, relationships| Constructor and Description |
|---|
ObfuscatedFontPart(PartName partName) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
deleteEmbeddedFontTempFiles(String filenamePrefix) |
PhysicalFont |
deObfuscate(String fontNameAsInTablePart,
String fontFileName,
String fontKey,
String filenamePrefix)
Deprecated.
|
PhysicalFont |
extract(String fontNameAsInTablePart,
String fontFileName,
String fontKey,
String filenamePrefix)
deObfuscate this font, and save it using fontName
|
protected void |
finalize() |
static byte |
fromHexString(String hexStr) |
void |
init() |
getF, getTemporaryEmbeddedFontsDir, getTmpFontDir, setFgetBuffer, getBytes, getExternalTarget, isContentEqual, isLoaded, setBinaryData, setBinaryData, setBinaryData, writeDataToOutputStreamgetContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionaddTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDatapublic ObfuscatedFontPart(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic void init()
@Deprecated public PhysicalFont deObfuscate(String fontNameAsInTablePart, String fontFileName, String fontKey, String filenamePrefix)
public PhysicalFont extract(String fontNameAsInTablePart, String fontFileName, String fontKey, String filenamePrefix)
extract in class AbstractFontPartfontNameAsInTablePart - - the name to save the font as. We
could read the font name from the deObfuscated data,
but FontLoader can't readily load from a byte array.fontKey - public static byte fromHexString(String hexStr)
protected static void deleteEmbeddedFontTempFiles(String filenamePrefix)
protected void finalize()
throws Throwable
finalize in class AbstractFontPartThrowableCopyright © 2007-2022. All Rights Reserved.