Package | Description |
---|---|
com.google.typography.font.sfntly.table.core | |
com.google.typography.font.tools.subsetter |
Modifier and Type | Field and Description |
---|---|
static CMapTable.CMapId |
CMapTable.CMapId.MAC_ROMAN |
static CMapTable.CMapId |
CMapTable.CMapId.WINDOWS_BMP |
static CMapTable.CMapId |
CMapTable.CMapId.WINDOWS_UCS4 |
Modifier and Type | Method and Description |
---|---|
CMapTable.CMapId |
CMap.cmapId()
Gets the cmap id for this cmap.
|
CMapTable.CMapId |
CMap.Builder.cmapId() |
CMapTable.CMapId |
CMapTable.cmapId(int index)
Gets the cmap id for the cmap with the given index.
|
static CMapTable.CMapId |
CMapTable.CMapId.getInstance(int platformId,
int encodingId) |
Modifier and Type | Method and Description |
---|---|
boolean |
CMapTable.CMapFilter.accept(CMapTable.CMapId cmapId)
Test on whether the cmap is acceptable or not.
|
CMap |
CMapTable.cmap(CMapTable.CMapId cmapId) |
CMap.Builder<? extends CMap> |
CMapTable.Builder.cmapBuilder(CMapTable.CMapId cmapId) |
int |
CMapTable.CMapId.compareTo(CMapTable.CMapId o) |
int |
CMapTable.getCmapIndex(CMapTable.CMapId id)
Returns the index of the cmap with the given CMapId in the table or -1 if a cmap with the
CMapId does not exist in the table.
|
CMap.Builder<? extends CMap> |
CMapTable.Builder.newCMapBuilder(CMapTable.CMapId cmapId,
CMap.CMapFormat cmapFormat) |
CMap.Builder<? extends CMap> |
CMapTable.Builder.newCMapBuilder(CMapTable.CMapId cmapId,
ReadableFontData data)
Gets a new cmap builder for this cmap table.
|
Modifier and Type | Method and Description |
---|---|
void |
Subsetter.setCMaps(java.util.List<CMapTable.CMapId> cmapIds,
int number)
Set the cmaps to be used in the subsetted font.
|