public class TtfEncodingParameters extends Object implements IEncodingParameters
Represents TTF encoding parameters. Should be used to request specific encoding from TTF Font.
| Constructor and Description |
|---|
TtfEncodingParameters(int platformId,
int platformSpecificId)
Initializes new instance of TtfEncodingParameters class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPlatformId()
Get PlatformId value.
|
int |
getPlatformSpecificId()
Gets PlatformSpecificId value.
|
void |
setPlatformId(int value)
Sets PlatformId value.
|
void |
setPlatformSpecificId(int value)
Sets PlatformSpecificId value.
|
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.
platformId - Platform id.platformSpecificId - Platform-specific encoding id.public int getPlatformId()
Get PlatformId value.
public void setPlatformId(int value)
Sets PlatformId value.
value - PlatformId value.public int getPlatformSpecificId()
Gets PlatformSpecificId value.
public void setPlatformSpecificId(int value)
Sets PlatformSpecificId value.
value - PlatformSpecificId value.Copyright © 2025 Aspose. All Rights Reserved.