com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class TtfEncodingParameters

  • All Implemented Interfaces:
    IEncodingParameters


    public class TtfEncodingParameters
    extends Object
    implements IEncodingParameters

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

    • Constructor Detail

      • TtfEncodingParameters

        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:
        platformId - Platform id.
        platformSpecificId - Platform-specific encoding id.
    • Method Detail

      • getPlatformId

        public int getPlatformId()

        Get PlatformId value.

        Returns:
        PlatformId value.
      • setPlatformId

        public void setPlatformId(int value)

        Sets PlatformId value.

        Parameters:
        value - PlatformId value.
      • getPlatformSpecificId

        public int getPlatformSpecificId()

        Gets PlatformSpecificId value.

        Returns:
        PlatformSpecificId value.
      • setPlatformSpecificId

        public void setPlatformSpecificId(int value)

        Sets PlatformSpecificId value.

        Parameters:
        value - PlatformSpecificId value.