TtfLtshTable

Inheritance: java.lang.Object, com.aspose.font.TtfTableBase

public class TtfLtshTable extends TtfTableBase

Represents Linear Threshold table of the TTF Font file.

Methods

MethodDescription
getTag()Gets the table tag.
getVersion()Gets the table version.
getNumGlyphs()Gets the number of glyphs (from “numGlyphs” in ‘maxp’ table).
getYPel(int glyphNum)Returns the vertical pel height for glyph/zero if glyph number is incorrect.

getTag()

public static String getTag()

Gets the table tag.

Returns: java.lang.String - The table tag.

getVersion()

public int getVersion()

Gets the table version.

Returns: int - The table version.

getNumGlyphs()

public int getNumGlyphs()

Gets the number of glyphs (from “numGlyphs” in ‘maxp’ table).

Returns: int - The number of glyphs (from “numGlyphs” in ‘maxp’ table).

getYPel(int glyphNum)

public byte getYPel(int glyphNum)

Returns the vertical pel height for glyph/zero if glyph number is incorrect.

Parameters:

ParameterTypeDescription
glyphNumintA glyph number (index).

Returns: byte - The vertical pel height for glyph/zero if glyph number is incorrect.