Class CmapTable


  • public class CmapTable
    extends TTFTable
    This 'cmap'-table is a required table in a TrueType font.
    Author:
    Ben Litchfield
    • Method Detail

      • getCmaps

        public CmapSubtable[] getCmaps()
        Returns:
        Returns the cmaps.
      • setCmaps

        public void setCmaps​(CmapSubtable[] cmapsValue)
        Parameters:
        cmapsValue - The cmaps to set.
      • getSubtable

        public CmapSubtable getSubtable​(int platformId,
                                        int platformEncodingId)
        Returns the subtable, if any, for the given platform and encoding.
        Parameters:
        platformId - the ID of the given platform
        platformEncodingId - the ID of the given encoding
        Returns:
        the subtable, if any, or null