TtfPostTable
Inheritance: java.lang.Object, com.aspose.font.TtfTableBase
public class TtfPostTable extends TtfTableBase
Represents “post” table of the TTF font file
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getAllGlyphIndexesForGlyphName(String glyphName) | Gets array of glyphs indexes by glyph name |
| getClass() | |
| getFormat() | Gets fixed format(version) of this table. |
| getGlyphIndex(String glyphName) | Gets glyph index by glyph name. |
| getGlyphName(long glyphIndex) | Gets glyph name by glyph index. |
| getItalicAngle() | Gets fixed italicAngle Italic angle in degrees. |
| getMaxMemType1() | Gets uint32 maxMemType1 Maximum memory usage when a TrueType Font is downloaded as a Type 1 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. |
| getMinMemType42() | Gets uint32 minMemType42 Minimum memory usage when a TrueType font is downloaded as a Type 42 Font. |
| getOffset() | Gets offset from beginning of sfnt. |
| getTableFormat() | Gets fixed format (version) of this table. |
| getTag() | Gets table tag. |
| getTtfTables() | Reference to TTF table repository. |
| getUnderlinePosition() | Gets FWord underlinePosition Underline position. |
| getUnderlineThickness() | Gets FWord underlineThickness Underline thickness. |
| hasNoPostScriptNames() | Indicates that no PostScript name information is provided for the glyphs in this font file. |
| hashCode() | |
| isFixedPitch() | Gets uint32 isFixedPitch. 0 if the font is proportionally spaced, non-zero if the Font is not proportionally spaced (i.e. monospaced). |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getAllGlyphIndexesForGlyphName(String glyphName)
public long[] getAllGlyphIndexesForGlyphName(String glyphName)
Gets array of glyphs indexes by glyph name
Parameters:
| Parameter | Type | Description |
|---|---|---|
| glyphName | java.lang.String | Glyph name |
Returns: long[] - array of glyphs indexes
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFormat()
public float getFormat()
Gets fixed format(version) of this table.
Returns: float - Fixed format(version) of this table.
getGlyphIndex(String glyphName)
public long getGlyphIndex(String glyphName)
Gets glyph index by glyph name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| glyphName | java.lang.String | Glyph name. |
Returns: long - Glyph index. When no PostScript name information is provided for the glyphs in this font file, returns the index 0, which is the undefined glyph or “.notdef” glyph.
getGlyphName(long glyphIndex)
public String getGlyphName(long glyphIndex)
Gets glyph name by glyph index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| glyphIndex | long | Glyph index. |
Returns: java.lang.String - Glyph name. When no PostScript name information is provided for the glyphs in this font file, returns null.
getItalicAngle()
public float getItalicAngle()
Gets fixed italicAngle Italic angle in degrees.
Returns: float - Fixed italicAngle Italic angle in degrees.
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.
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.
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.
getOffset()
public long getOffset()
Gets offset from beginning of sfnt.
Returns: long - Offset from beginning of sfnt.
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.
getTag()
public static String getTag()
Gets table tag.
Returns: java.lang.String - Table tag.
getTtfTables()
public TtfTableRepository getTtfTables()
Reference to TTF table repository.
Returns: TtfTableRepository - Reference to TTF table repository.
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.
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.
hashCode()
public native int hashCode()
Returns: int
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).
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |