org.fontbox.ttf
Class CMAPTable
A table in a true type font.
- Ben Litchfield (ben@benlitchfield.com)
ENCODING_BIG5
public static final int ENCODING_BIG5
An encoding constant.
ENCODING_JOHAB
public static final int ENCODING_JOHAB
An encoding constant.
ENCODING_PRC
public static final int ENCODING_PRC
An encoding constant.
ENCODING_SHIFT_JIS
public static final int ENCODING_SHIFT_JIS
An encoding constant.
ENCODING_SYMBOL
public static final int ENCODING_SYMBOL
An encoding constant.
ENCODING_UNICODE
public static final int ENCODING_UNICODE
An encoding constant.
ENCODING_WANSUNG
public static final int ENCODING_WANSUNG
An encoding constant.
PLATFORM_WINDOWS
public static final int PLATFORM_WINDOWS
A constant for the platform.
TAG
public static final String TAG
A tag used to identify this table.
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException
This will read the required data from the stream.
- initData in interface TTFTable
ttf
- The font that is being read.data
- The stream to read the data from.
setCmaps
public void setCmaps(CMAPEncodingEntry[] cmapsValue)
cmapsValue
- The cmaps to set.