TtfPostTable

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

public class TtfPostTable extends TtfTableBase

Represents “post” table of the TTF font file

Methods

MethodDescription
getTag()Gets table tag.
getFormat()Gets fixed format(version) of this table.
getTableFormat()Gets fixed format (version) of this table.
getItalicAngle()Gets fixed italicAngle Italic angle in degrees.
getUnderlinePosition()Gets FWord underlinePosition Underline position.
getUnderlineThickness()Gets FWord underlineThickness Underline thickness.
isFixedPitch()Gets uint32 isFixedPitch. 0 if the font is proportionally spaced, non-zero if the Font is not proportionally spaced (i.e. monospaced).
getMinMemType42()Gets uint32 minMemType42 Minimum memory usage when a TrueType font is downloaded as a Type 42 Font.
getMaxMemType42()Gets uint32 maxMemType42 Maximum memory usage when a TrueType font is downloaded as a Type 42 Font.
getMinMemType1()Gets uint32 minMemType1 Minimum memory usage when a TrueType Font is downloaded as a Type 1 Font.
getMaxMemType1()Gets uint32 maxMemType1 Maximum memory usage when a TrueType Font is downloaded as a Type 1 Font.
getGlyphName(long glyphIndex)Gets glyph name by glyph index.
getGlyphIndex(String glyphName)Gets glyph index by glyph name.
getAllGlyphIndexesForGlyphName(String glyphName)Gets array of glyphs indexes by glyph name
hasNoPostScriptNames()Indicates that no PostScript name information is provided for the glyphs in this font file.

getTag()

public static String getTag()

Gets table tag.

Returns: java.lang.String - Table tag.

getFormat()

public float getFormat()

Gets fixed format(version) of this table.

Returns: float - Fixed format(version) of this table.

getTableFormat()

public Version16Dot16 getTableFormat()

Gets fixed format (version) of this table. Use properties MajorNumber and MinorNUmber of object Version16Dot16 in hexademical notation to detect version used.

Returns: Version16Dot16 - Fixed format (version) of this table.

getItalicAngle()

public float getItalicAngle()

Gets fixed italicAngle Italic angle in degrees.

Returns: float - Fixed italicAngle Italic angle in degrees.

getUnderlinePosition()

public short getUnderlinePosition()

Gets FWord underlinePosition Underline position.

Returns: short - FWord underlinePosition Underline position.

getUnderlineThickness()

public short getUnderlineThickness()

Gets FWord underlineThickness Underline thickness.

Returns: short - FWord underlineThickness Underline thickness.

isFixedPitch()

public long isFixedPitch()

Gets uint32 isFixedPitch. 0 if the font is proportionally spaced, non-zero if the Font is not proportionally spaced (i.e. monospaced).

Returns: long - UInt32 isFixedPitch. 0 if the font is proportionally spaced, non-zero if the Font is not proportionally spaced (i.e. monospaced).

getMinMemType42()

public long getMinMemType42()

Gets uint32 minMemType42 Minimum memory usage when a TrueType font is downloaded as a Type 42 Font.

Returns: long - UInt32 minMemType42 Minimum memory usage when a TrueType font is downloaded as a Type 42 Font.

getMaxMemType42()

public long getMaxMemType42()

Gets uint32 maxMemType42 Maximum memory usage when a TrueType font is downloaded as a Type 42 Font.

Returns: long - UInt32 maxMemType42 Maximum memory usage when a TrueType font is downloaded as a Type 42 Font.

getMinMemType1()

public long getMinMemType1()

Gets uint32 minMemType1 Minimum memory usage when a TrueType Font is downloaded as a Type 1 Font.

Returns: long - UInt32 minMemType1 Minimum memory usage when a TrueType Font is downloaded as a Type 1 Font.

getMaxMemType1()

public long getMaxMemType1()

Gets uint32 maxMemType1 Maximum memory usage when a TrueType Font is downloaded as a Type 1 Font.

Returns: long - UInt32 maxMemType1 Maximum memory usage when a TrueType Font is downloaded as a Type 1 Font.

getGlyphName(long glyphIndex)

public String getGlyphName(long glyphIndex)

Gets glyph name by glyph index.

Parameters:

ParameterTypeDescription
glyphIndexlongGlyph index.

Returns: java.lang.String - Glyph name.

getGlyphIndex(String glyphName)

public long getGlyphIndex(String glyphName)

Gets glyph index by glyph name.

Parameters:

ParameterTypeDescription
glyphNamejava.lang.StringGlyph name.

Returns: long - Glyph index

getAllGlyphIndexesForGlyphName(String glyphName)

public long[] getAllGlyphIndexesForGlyphName(String glyphName)

Gets array of glyphs indexes by glyph name

Parameters:

ParameterTypeDescription
glyphNamejava.lang.StringGlyph name

Returns: long[] - array of glyphs indexes

hasNoPostScriptNames()

public boolean hasNoPostScriptNames()

Indicates that no PostScript name information is provided for the glyphs in this font file.

Returns: boolean - True, if no PostScript name information is provided for the glyphs in this font file. False, otherwise.