|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.ttf.TTFTable
org.pdfbox.ttf.CMAPTable
public class CMAPTable
A table in a true type font.
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. |
Constructor Summary | |
---|---|
CMAPTable()
|
Method Summary | |
---|---|
CMAPEncodingEntry[] |
getCmaps()
|
void |
initData(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream. |
void |
setCmaps(CMAPEncodingEntry[] cmapsValue)
|
Methods inherited from class org.pdfbox.ttf.TTFTable |
---|
getCheckSum, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TAG
public static final int PLATFORM_WINDOWS
public static final int ENCODING_SYMBOL
public static final int ENCODING_UNICODE
public static final int ENCODING_SHIFT_JIS
public static final int ENCODING_BIG5
public static final int ENCODING_PRC
public static final int ENCODING_WANSUNG
public static final int ENCODING_JOHAB
Constructor Detail |
---|
public CMAPTable()
Method Detail |
---|
public void initData(TrueTypeFont ttf, TTFDataStream data) throws IOException
initData
in class TTFTable
ttf
- The font that is being read.data
- The stream to read the data from.
IOException
- If there is an error reading the data.public CMAPEncodingEntry[] getCmaps()
public void setCmaps(CMAPEncodingEntry[] cmapsValue)
cmapsValue
- The cmaps to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |