|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.TtfTableCMAP.Format
org.extex.font.format.xtf.tables.TtfTableCMAP.Format0
public class TtfTableCMAP.Format0
Format 0 is suitable for fonts whose character codes and glyph indices are restricted to a single byte.
It is the standard Apple character to glyph index mapping table.
| Type | Name | Description |
| USHORT | format | Format number is set to 0. |
| USHORT | length | This is the length in bytes of the subtable. |
| USHORT | version | Version number (starts at 0). |
| BYTE | glyphIdArray[256] | An array that maps character codes to glyph index values. |
| Method Summary | |
|---|---|
int |
mapCharCode(int charCode)
map char code. |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class org.extex.font.format.xtf.tables.TtfTableCMAP.Format |
|---|
addAttributes, getFormat, getLength, getVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int mapCharCode(int charCode)
mapCharCode in class TtfTableCMAP.FormatcharCode - the charcode
TtfTableCMAP.Format.mapCharCode(int)
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writer - the XML-Writer
java.io.IOException - if an IO-error occurs.XMLWriterConvertible.writeXML(
org.extex.util.xml.XMLStreamWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||