com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class TtfCMapTable



  • public class TtfCMapTable
    extends TtfTableBase

    Represents "cmap" table of the TTF Font file.

    • Method Detail

      • getTag

        public static String getTag()

        Gets table tag.

        Returns:
        Table tag.
      • getPlatformTables

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

        Returns CMap subtables for planformId and platformSpecificId.

        Parameters:
        platformId - Platform Id.
        platformSpecificId - Platform-specific encoding Id.
        Returns:
        CMap subtables.
      • 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:
        Unicode subtable.