Package org.apache.fontbox.ttf
Class CmapTable
java.lang.Object
org.apache.fontbox.ttf.TTFTable
org.apache.fontbox.ttf.CmapTable
The "cmap" table of a true type font.
- Author:
- Ben Litchfield
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
A tag used to identify this table.Fields inherited from class org.apache.fontbox.ttf.TTFTable
font, initialized
-
Method Summary
Modifier and TypeMethodDescriptiongetCmaps()
getSubtable
(int platformId, int platformEncodingId) Returns the subtable, if any, for the given platform and encoding.void
setCmaps
(CmapSubtable[] cmapsValue) Methods inherited from class org.apache.fontbox.ttf.TTFTable
getCheckSum, getInitialized, getLength, getOffset, getTag
-
Field Details
-
TAG
A tag used to identify this table.- See Also:
-
PLATFORM_UNICODE
public static final int PLATFORM_UNICODE- See Also:
-
PLATFORM_MACINTOSH
public static final int PLATFORM_MACINTOSH- See Also:
-
PLATFORM_WINDOWS
public static final int PLATFORM_WINDOWS- See Also:
-
ENCODING_MAC_ROMAN
public static final int ENCODING_MAC_ROMAN- See Also:
-
ENCODING_WIN_SYMBOL
public static final int ENCODING_WIN_SYMBOL- See Also:
-
ENCODING_WIN_UNICODE_BMP
public static final int ENCODING_WIN_UNICODE_BMP- See Also:
-
ENCODING_WIN_SHIFT_JIS
public static final int ENCODING_WIN_SHIFT_JIS- See Also:
-
ENCODING_WIN_BIG5
public static final int ENCODING_WIN_BIG5- See Also:
-
ENCODING_WIN_PRC
public static final int ENCODING_WIN_PRC- See Also:
-
ENCODING_WIN_WANSUNG
public static final int ENCODING_WIN_WANSUNG- See Also:
-
ENCODING_WIN_JOHAB
public static final int ENCODING_WIN_JOHAB- See Also:
-
ENCODING_WIN_UNICODE_FULL
public static final int ENCODING_WIN_UNICODE_FULL- See Also:
-
ENCODING_UNICODE_1_0
public static final int ENCODING_UNICODE_1_0- See Also:
-
ENCODING_UNICODE_1_1
public static final int ENCODING_UNICODE_1_1- See Also:
-
ENCODING_UNICODE_2_0_BMP
public static final int ENCODING_UNICODE_2_0_BMP- See Also:
-
ENCODING_UNICODE_2_0_FULL
public static final int ENCODING_UNICODE_2_0_FULL- See Also:
-
-
Method Details
-
getCmaps
- Returns:
- Returns the cmaps.
-
setCmaps
- Parameters:
cmapsValue
- The cmaps to set.
-
getSubtable
Returns the subtable, if any, for the given platform and encoding.
-