|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.TtfTableNAME.NameRecord
public class TtfTableNAME.NameRecord
NameRecord.
| Type | Description |
| USHORT | Platform ID. |
| USHORT | <Platform-specific encoding ID. |
| USHORT | Language ID. |
| USHORT | Name ID. |
| USHORT | String length (in bytes). | /tr>
| USHORT | String offset from start of storage area (in bytes). |
Platform ID
| ID | Platform | Specific encoding |
| 0 | Unicode | none |
| 1 | Macintosh | Script manager code |
| 2 | ISO | ISO encoding |
| 3 | Microsoft | Microsoft encoding |
Microsoft platform-specific encoding ID’s (platform ID = 3)
| Code | Description |
| 0 | Undefined character set or indexing scheme |
| 1 | UGL character set with Unicode indexing scheme (see chapter, “Character Sets.”) |
| Method Summary | |
|---|---|
short |
getEncodingId()
Returns the encoding id. |
short |
getLanguageId()
Returns the language id. |
short |
getNameId()
Returns the name id. |
short |
getPlatformId()
Returns the platform id. |
java.lang.String |
getRecord()
Returns the record. |
java.lang.String |
getRecordString()
Returns the record string. |
short |
getStringLength()
Returns the stringLength. |
short |
getStringOffset()
Returns the stringOffset. |
void |
loadString(RandomAccessR rar,
int stringStorageOffset)
Load the string. |
java.lang.String |
toString()
Returns the info for this class. |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public short getEncodingId()
public short getLanguageId()
public short getNameId()
public short getPlatformId()
public java.lang.String getRecord()
public java.lang.String getRecordString()
public short getStringLength()
public short getStringOffset()
public void loadString(RandomAccessR rar,
int stringStorageOffset)
throws java.io.IOException
rar - inputstringStorageOffset - offset
java.io.IOException - if an IO-error occurspublic java.lang.String toString()
toString in class java.lang.Object
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writeXML in interface XMLWriterConvertiblewriter - 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 | |||||||||