TtfCMapTable

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

public class TtfCMapTable extends TtfTableBase

Represents “cmap” table of the TTF Font file.

Methods

MethodDescription
equals(Object arg0)
findUnicodeTable()Searches and returns unicode CMap.
getAllSubtables()Returns all the subtables from CMap table.
getClass()
getOffset()Gets offset from beginning of sfnt.
getPlatformTables(int platformId, int platformSpecificId)Returns CMap subtables for planformId and platformSpecificId.
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:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

findUnicodeTable()

public TtfCMapFormatBaseTable findUnicodeTable()

Searches and returns unicode CMap. if there is ucs-4 CMap - returns it first; otherwise - returns any unicode cmap it can find.

Returns: TtfCMapFormatBaseTable - Unicode subtable.

getAllSubtables()

public TtfCMapTable.TtfCMapSubtableDescription[] getAllSubtables()

Returns all the subtables from CMap table.

Returns: com.aspose.font.TtfCMapTable.TtfCMapSubtableDescription[] - array of TtfCmapSubtableDescription objects

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOffset()

public long getOffset()

Gets offset from beginning of sfnt.

Returns: long - Offset from beginning of sfnt.

getPlatformTables(int platformId, int platformSpecificId)

public TtfCMapFormatBaseTable[] getPlatformTables(int platformId, int platformSpecificId)

Returns CMap subtables for planformId and platformSpecificId.

Parameters:

ParameterTypeDescription
platformIdintPlatform Id.
platformSpecificIdintPlatform-specific encoding Id.

Returns: com.aspose.font.TtfCMapFormatBaseTable[] - CMap subtables.

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int