Package com.mta.tehreer.sfnt.tables
Class MaxpTable
java.lang.Object
com.mta.tehreer.sfnt.tables.MaxpTable
Represents an OpenType `maxp' table.
-
Constructor Details
-
MaxpTable
Constructs aMaxpTable
object from the specified typeface.- Parameters:
typeface
- The typeface from which theMaxpTable
object is constructed.- Throws:
NullPointerException
- iftypeface
isnull
.RuntimeException
- iftypeface
does not contain `maxp' table.
-
-
Method Details
-
from
Constructs aMaxpTable
object from the specified typeface.- Parameters:
typeface
- The typeface from which theMaxpTable
object is constructed.- Returns:
- A new
MaxpTable
object, ornull
if `maxp' table does not exist in the specified typeface. - Throws:
NullPointerException
- iftypeface
isnull
.
-
version
public int version() -
numGlyphs
public int numGlyphs() -
maxPoints
public int maxPoints() -
maxContours
public int maxContours() -
maxCompositePoints
public int maxCompositePoints() -
maxCompositeContours
public int maxCompositeContours() -
maxZones
public int maxZones() -
maxTwilightPoints
public int maxTwilightPoints() -
maxStorage
public int maxStorage() -
maxFunctionDefs
public int maxFunctionDefs() -
maxInstructionDefs
public int maxInstructionDefs() -
maxStackElements
public int maxStackElements() -
maxSizeOfInstructions
public int maxSizeOfInstructions() -
maxComponentElements
public int maxComponentElements() -
maxComponentDepth
public int maxComponentDepth()
-