Class TTInterpreter
java.lang.Object
com.adobe.fontengine.font.opentype.TTInterpreter
Interprets TT programs.
-
Constructor Summary
ConstructorsConstructorDescriptionTTInterpreter(int storageAreaSize, int maxStackDepth, int cvtSize, OTByteArray cvt, int nbFunctionDefs, int nbTwilightPoints) -
Method Summary
Modifier and TypeMethodDescriptionintvoidrunFpgm(OTByteArray instructionStream, int offset, int limit) voidrunGlyf(TTSimpleOutline outline, OTByteArray instructionStream, int offset, int limit) voidrunPrep(OTByteArray instructionStream, int offset, int limit) voidsetDebugger(ScalerDebugger debugger) voidsetScaling(double pointSize, double ppemX, double ppemY, double dX, double dY) voidsetUnitsPerEm(int unitsPerEm)
-
Constructor Details
-
TTInterpreter
public TTInterpreter(int storageAreaSize, int maxStackDepth, int cvtSize, OTByteArray cvt, int nbFunctionDefs, int nbTwilightPoints) throws InvalidFontException, UnsupportedFontException
-
-
Method Details
-
setUnitsPerEm
public void setUnitsPerEm(int unitsPerEm) -
setScaling
public void setScaling(double pointSize, double ppemX, double ppemY, double dX, double dY) throws InvalidFontException, UnsupportedFontException -
getScanType
public int getScanType() -
runFpgm
public void runFpgm(OTByteArray instructionStream, int offset, int limit) throws InvalidFontException, UnsupportedFontException -
runPrep
public void runPrep(OTByteArray instructionStream, int offset, int limit) throws InvalidFontException, UnsupportedFontException -
runGlyf
public void runGlyf(TTSimpleOutline outline, OTByteArray instructionStream, int offset, int limit) throws InvalidGlyphException, UnsupportedFontException -
setDebugger
-