de.dante.extex.font.type.tfm
Class TFMWidthArray

java.lang.Object
  extended byde.dante.extex.font.type.tfm.TFMWidthArray
All Implemented Interfaces:
java.io.Serializable, XMLWriterConvertible

public class TFMWidthArray
extends java.lang.Object
implements XMLWriterConvertible, java.io.Serializable

Class for TFM width table.

width : array [0 .. (nw-1)] of fix word

Information from: The DVI Driver Standard, Level 0 The TUG DVI Driver Standards Committee

Version:
$Revision: 1.4 $
Author:
Michael Niedermair
See Also:
Serialized Form

Constructor Summary
TFMWidthArray(RandomAccessR rar, int size)
          Create a new object
 
Method Summary
 TFMFixWord[] getTable()
          Returns the table.
 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

TFMWidthArray

public TFMWidthArray(RandomAccessR rar,
                     int size)
              throws java.io.IOException
Create a new object

Parameters:
rar - the input
size - number of words in the table
Throws:
java.io.IOException - if an IO-error occurs.
Method Detail

getTable

public TFMFixWord[] getTable()
Returns the table.

Returns:
Returns the table.

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
Description copied from interface: XMLWriterConvertible
Write the data to a XMLStreamWriter.

Specified by:
writeXML in interface XMLWriterConvertible
Parameters:
writer - the XML-Writer
Throws:
java.io.IOException - if an IO-error occurs.
See Also:
XMLWriterConvertible.writeXML(de.dante.util.xml.XMLStreamWriter)