TtfHmtxTable
Inheritance: java.lang.Object, com.aspose.font.TtfTableBase
public class TtfHmtxTable extends TtfTableBase
Represents “hmtx” table of the TTF Font file.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAdditionalAdvanceWidth() | In hmtx table could be the cases when total number of glyphs is not equal to hhea.numberOfHMetrics. |
getClass() | |
getHMetrics() | Gets horizontal metrics. |
getLeftSidebearings() | Gets left side bearings. |
getOffset() | Gets offset from beginning of sfnt. |
getTag() | Gets table tag. |
getTtfTables() | Reference to TTF table repository. |
hashCode() | |
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
getAdditionalAdvanceWidth()
public int getAdditionalAdvanceWidth()
In hmtx table could be the cases when total number of glyphs is not equal to hhea.numberOfHMetrics. For these cases hmtx table contains additional array ’leftSideBearing’ which is correspondent to property LeftSidebearings . But glyphs with indexes from hhea.numOfLongHorMetrics to maxp.numGlyphs also have widths. And these widths in accordance to specification for hmtx table have such values: “Here the advanceWidth is assumed to be the same as the advanceWidth for the last entry above”.
Returns: int - Additional advance width.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHMetrics()
public TtfHmtxTable.MetricList getHMetrics()
Gets horizontal metrics.
Returns: MetricList - Horizontal metrics.
getLeftSidebearings()
public short[] getLeftSidebearings()
Gets left side bearings.
Returns: short[] - Left side bearings.
getOffset()
public long getOffset()
Gets offset from beginning of sfnt.
Returns: long - Offset from beginning of sfnt.
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.
hashCode()
public native int hashCode()
Returns: int
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 |