public class Subsetter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
setCMaps(java.util.List<CMapTable.CMapId> cmapIds,
int number)
Set the cmaps to be used in the subsetted font.
|
void |
setGlyphs(java.util.List<java.lang.Integer> glyphs) |
void |
setRemoveTables(java.util.Set<java.lang.Integer> removeTables) |
Font.Builder |
subset() |
public void setGlyphs(java.util.List<java.lang.Integer> glyphs)
public void setCMaps(java.util.List<CMapTable.CMapId> cmapIds, int number)
cmapIds
- the cmap ids to use for the subsetted fontnumber
- the maximum number of cmaps to place in the subsetted fontpublic void setRemoveTables(java.util.Set<java.lang.Integer> removeTables)
public Font.Builder subset() throws java.io.IOException
java.io.IOException