Class TTInterpreter
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.TTInterpreter
-
public class TTInterpreter extends java.lang.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 int
getScanType()
void
runFpgm(OTByteArray instructionStream, int offset, int limit)
void
runGlyf(TTSimpleOutline outline, OTByteArray instructionStream, int offset, int limit)
void
runPrep(OTByteArray instructionStream, int offset, int limit)
void
setDebugger(ScalerDebugger debugger)
void
setScaling(double pointSize, double ppemX, double ppemY, double dX, double dY)
void
setUnitsPerEm(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)
-
-