org.fontbox.ttf
Class CMAPEncodingEntry
java.lang.Objectorg.fontbox.ttf.CMAPEncodingEntry
public class CMAPEncodingEntry
extends java.lang.Object
An encoding entry for a cmap.
getGlyphIdToCharacterCode
public int[] getGlyphIdToCharacterCode()
- Returns the glyphIdToCharacterCode.
getPlatformEncodingId
public int getPlatformEncodingId()
- Returns the platformEncodingId.
getPlatformId
public int getPlatformId()
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException This will read the required data from the stream.
ttf - The font that is being read.data - The stream to read the data from.
initSubtable
public void initSubtable(TrueTypeFont ttf,
TTFDataStream data)
throws IOException This will read the required data from the stream.
ttf - The font that is being read.data - The stream to read the data from.
setGlyphIdToCharacterCode
public void setGlyphIdToCharacterCode(int[] glyphIdToCharacterCodeValue)
glyphIdToCharacterCodeValue - The glyphIdToCharacterCode to set.
setPlatformEncodingId
public void setPlatformEncodingId(int platformEncodingIdValue)
platformEncodingIdValue - The platformEncodingId to set.
setPlatformId
public void setPlatformId(int platformIdValue)
platformIdValue - The platformId to set.