Class TTInterpreter
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.TTInterpreter
-
public class TTInterpreter extends Object
Interprets TT programs.
-
-
Constructor Summary
Constructors Constructor Description TTInterpreter(int storageAreaSize, int maxStackDepth, int cvtSize, OTByteArray cvt, int nbFunctionDefs, int nbTwilightPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetScanType()voidrunFpgm(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 Detail
-
TTInterpreter
public TTInterpreter(int storageAreaSize, int maxStackDepth, int cvtSize, OTByteArray cvt, int nbFunctionDefs, int nbTwilightPoints) throws InvalidFontException, UnsupportedFontException
-
-
Method Detail
-
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
public void setDebugger(ScalerDebugger debugger)
-
-