TtfEncodingParameters
Contents
[
Hide
]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
Constructor | Description |
---|---|
TtfEncodingParameters(int platformId, int platformSpecificId) | Initializes new instance of TtfEncodingParameters class. |
Methods
Method | Description |
---|---|
getPlatformId() | Get PlatformId value. |
setPlatformId(int value) | Sets PlatformId value. |
getPlatformSpecificId() | Gets PlatformSpecificId value. |
setPlatformSpecificId(int value) | Sets PlatformSpecificId value. |
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:
Parameter | Type | Description |
---|---|---|
platformId | int | Platform id. |
platformSpecificId | int | Platform-specific encoding id. |
getPlatformId()
public int getPlatformId()
Get PlatformId value.
Returns: int - PlatformId value.
setPlatformId(int value)
public void setPlatformId(int value)
Sets PlatformId value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | PlatformId value. |
getPlatformSpecificId()
public int getPlatformSpecificId()
Gets PlatformSpecificId value.
Returns: int - PlatformSpecificId value.
setPlatformSpecificId(int value)
public void setPlatformSpecificId(int value)
Sets PlatformSpecificId value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | PlatformSpecificId value. |