Class CmapTable

java.lang.Object
org.apache.fontbox.ttf.TTFTable
org.apache.fontbox.ttf.CmapTable

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

  • Method Details

    • 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