org.fontbox.ttf
Class CMAPEncodingEntry
java.lang.Object
org.fontbox.ttf.CMAPEncodingEntry
- public class CMAPEncodingEntry
- extends Object
An encoding entry for a cmap.
- Version:
- $Revision: 1.2 $
- Author:
- Ben Litchfield
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMAPEncodingEntry
public CMAPEncodingEntry()
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException
- This will read the required data from the stream.
- Parameters:
ttf
- The font that is being read.data
- The stream to read the data from.
- Throws:
IOException
- If there is an error reading the data.
initSubtable
public void initSubtable(TrueTypeFont ttf,
TTFDataStream data)
throws IOException
- This will read the required data from the stream.
- Parameters:
ttf
- The font that is being read.data
- The stream to read the data from.
- Throws:
IOException
- If there is an error reading the data.
getGlyphIdToCharacterCode
public int[] getGlyphIdToCharacterCode()
- Returns:
- Returns the glyphIdToCharacterCode.
setGlyphIdToCharacterCode
public void setGlyphIdToCharacterCode(int[] glyphIdToCharacterCodeValue)
- Parameters:
glyphIdToCharacterCodeValue
- The glyphIdToCharacterCode to set.
getPlatformEncodingId
public int getPlatformEncodingId()
- Returns:
- Returns the platformEncodingId.
setPlatformEncodingId
public void setPlatformEncodingId(int platformEncodingIdValue)
- Parameters:
platformEncodingIdValue
- The platformEncodingId to set.
getPlatformId
public int getPlatformId()
- Returns:
- Returns the platformId.
setPlatformId
public void setPlatformId(int platformIdValue)
- Parameters:
platformIdValue
- The platformId to set.