org.apache.fontbox.ttf
public class CMAPTable extends TTFTable
Version: $Revision: 1.1 $
Field Summary | |
---|---|
static int | ENCODING_BIG5
An encoding constant. |
static int | ENCODING_JOHAB
An encoding constant. |
static int | ENCODING_PRC
An encoding constant. |
static int | ENCODING_SHIFT_JIS
An encoding constant. |
static int | ENCODING_SYMBOL
An encoding constant. |
static int | ENCODING_UNICODE
An encoding constant. |
static int | ENCODING_WANSUNG
An encoding constant. |
static int | PLATFORM_WINDOWS
A constant for the platform. |
static String | TAG
A tag used to identify this table. |
Method Summary | |
---|---|
CMAPEncodingEntry[] | getCmaps() |
void | initData(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.
|
void | setCmaps(CMAPEncodingEntry[] cmapsValue) |
Returns: Returns the cmaps.
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.
Parameters: cmapsValue The cmaps to set.