|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.font.type.tfm.TFMHeaderArray
Class for TFM header information.
header : array [0 .. (lh-1)] of stuff
header[0] | a 32-bit check sum |
header[1] | a fix word containing the design size of the font, in units of TEX points (7227 TEX points =254 cm) |
header[2..11] | if present, contains 40 bytes that identify the character coding scheme. |
header[12..16] | if present, contains 20 bytes that name the font family. |
header[17] | if present, contains a first byte called the seven_bit_safe_flag, then two bytes that are ignored, and a fourth byte called the face. |
header[18..(lh-1)] | might also be present: the individual words are simply called header[18], header[19], etc., at the moment. |
Information from: The DVI Driver Standard, Level 0 The TUG DVI Driver Standards Committee
Constructor Summary | |
TFMHeaderArray(RandomAccessR rar,
short lh)
Create a new object |
Method Summary | |
int |
getChecksum()
Returns the checksum. |
java.lang.String |
getCodingscheme()
Returns the codingscheme. |
TFMFixWord |
getDesignsize()
Returns the designsize. |
int |
getFace()
Returns the face. |
java.lang.String |
getFontfamily()
Returns the fontfamily. |
TFMFontType |
getFontype()
Returns the fontype. |
int[] |
getHeaderrest()
Returns the headerrest. |
boolean |
isSevenBitSafe()
Returns the sevenBitSafe. |
void |
toPL(PlWriter out)
Print all information (jn PL-format) to the writer. |
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 TFMHeaderArray(RandomAccessR rar, short lh) throws java.io.IOException
rar
- the inputlh
- length of the header data
java.io.IOException
- if an IO-error occurs.Method Detail |
public int getChecksum()
public java.lang.String getCodingscheme()
public TFMFixWord getDesignsize()
public int getFace()
public java.lang.String getFontfamily()
public TFMFontType getFontype()
public int[] getHeaderrest()
public boolean isSevenBitSafe()
public void toPL(PlWriter out) throws java.io.IOException
PlFormat
toPL
in interface PlFormat
out
- the plwriter
java.io.IOException
- if an IO-error occurs.de.dante.extex.font.type.PlFormat#toPL(java.io.OutputStream)
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 |