public static class CMapTable.Builder extends SubTableContainerTable.Builder<CMapTable>
Modifier and Type | Method and Description |
---|---|
CMap.Builder<? extends CMap> |
cmapBuilder(CMapTable.CMapId cmapId) |
static CMapTable.Builder |
createBuilder(Header header,
WritableFontData data)
Creates a new builder using the header information and data provided.
|
java.util.Iterator<? extends CMap.Builder<? extends CMap>> |
iterator() |
CMap.Builder<? extends CMap> |
newCMapBuilder(CMapTable.CMapId cmapId,
CMap.CMapFormat cmapFormat) |
CMap.Builder<? extends CMap> |
newCMapBuilder(CMapTable.CMapId cmapId,
ReadableFontData data)
Gets a new cmap builder for this cmap table.
|
int |
numCMaps() |
void |
setVersion(int version) |
int |
version() |
getBuilder, header, toString
build, changed, data, readyToBuild, setData, setData
public static CMapTable.Builder createBuilder(Header header, WritableFontData data)
header
- the header informationdata
- the data holding the tablepublic int numCMaps()
public java.util.Iterator<? extends CMap.Builder<? extends CMap>> iterator()
public int version()
public void setVersion(int version)
public CMap.Builder<? extends CMap> newCMapBuilder(CMapTable.CMapId cmapId, ReadableFontData data) throws java.io.IOException
cmapId
- the id for the new cmap builderdata
- the data to copy for the new cmap builderjava.io.IOException
public CMap.Builder<? extends CMap> newCMapBuilder(CMapTable.CMapId cmapId, CMap.CMapFormat cmapFormat)
public CMap.Builder<? extends CMap> cmapBuilder(CMapTable.CMapId cmapId)