|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.font.type.tfm.TFMHeaderLengths
Class for TFM header length table.
The first 24 bytes of a TFM file contain the lengths of the various subsequent portions of the file. (12 x 16-bit interger) or (6 words x 32 bit)
name | description |
lf | length of the entire file, in words |
lh | length of the header data, in words |
bc | smallest character code in the font |
ec | largest character code in the font |
nw | number of words in the width table |
nh | number of words in the height table |
nd | number of words in the depth table |
ni | number of words in the italic correction table |
nl | number of words in the lig/kern table |
nk | number of words in the kern table |
ne | number of words in the extensible character table |
np | number of font parameter words |
Information from: The DVI Driver Standard, Level 0 The TUG DVI Driver Standards Committee
Constructor Summary | |
TFMHeaderLengths(RandomAccessR rar)
Create a new object |
Method Summary | |
short |
getBc()
Returns the bc. |
int |
getCc()
Returns the cc. |
short |
getEc()
Returns the ec. |
short |
getLf()
Returns the lf. |
short |
getLh()
Returns the lh. |
short |
getNd()
Returns the nd. |
short |
getNe()
Returns the ne. |
short |
getNh()
Returns the nh. |
short |
getNi()
Returns the ni. |
short |
getNk()
Returns the nk. |
short |
getNl()
Returns the nl. |
short |
getNp()
Returns the np. |
short |
getNw()
Returns the nw. |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TFMHeaderLengths(RandomAccessR rar) throws java.io.IOException
rar
- the input
java.io.IOException
- if an IO-error occurs.Method Detail |
public short getBc()
public int getCc()
public short getEc()
public short getLf()
public short getLh()
public short getNd()
public short getNe()
public short getNh()
public short getNi()
public short getNk()
public short getNl()
public short getNp()
public short getNw()
public void writeXML(XMLStreamWriter writer) throws java.io.IOException
XMLWriterConvertible
writeXML
in interface XMLWriterConvertible
writer
- the XML-Writer
java.io.IOException
- if an IO-error occurs.XMLWriterConvertible.writeXML(de.dante.util.xml.XMLStreamWriter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |