TtfEncodingParameters

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.font.IEncodingParameters

public class TtfEncodingParameters implements IEncodingParameters

Represents TTF encoding parameters. Should be used to request specific encoding from TTF Font.

Constructors

ConstructorDescription
TtfEncodingParameters(int platformId, int platformSpecificId)Initializes new instance of TtfEncodingParameters class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getPlatformId()Get PlatformId value.
getPlatformSpecificId()Gets PlatformSpecificId value.
hashCode()
notify()
notifyAll()
setPlatformId(int value)Sets PlatformId value.
setPlatformSpecificId(int value)Sets PlatformSpecificId value.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TtfEncodingParameters(int platformId, int platformSpecificId)

public TtfEncodingParameters(int platformId, int platformSpecificId)

Initializes new instance of TtfEncodingParameters class. Takes Platform Id, Platform-specific encoding id as parameters. These parameters used to request special CMap subtable from main font CMap table, see table ‘CMap’, ’name’ in OpenType Font File specification.

Parameters:

ParameterTypeDescription
platformIdintPlatform id.
platformSpecificIdintPlatform-specific encoding id.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getPlatformId()

public int getPlatformId()

Get PlatformId value.

Returns: int - PlatformId value.

getPlatformSpecificId()

public int getPlatformSpecificId()

Gets PlatformSpecificId value.

Returns: int - PlatformSpecificId value.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setPlatformId(int value)

public void setPlatformId(int value)

Sets PlatformId value.

Parameters:

ParameterTypeDescription
valueintPlatformId value.

setPlatformSpecificId(int value)

public void setPlatformSpecificId(int value)

Sets PlatformSpecificId value.

Parameters:

ParameterTypeDescription
valueintPlatformSpecificId value.

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