|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.tfm.TfmHeaderArray
public class 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
| Field Summary | |
|---|---|
static int |
HEADER_REST_SIZE
header[18..] |
| Constructor Summary | |
|---|---|
TfmHeaderArray(RandomAccessR rar,
int 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 |
getFontType()
Returns the fontype. |
int[] |
getHeaderrest()
Returns the headerrest. |
int |
getXeroxfacecode()
Getter for xeroxfacecode. |
boolean |
isSevenBitSafe()
Returns the sevenBitSafe. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int HEADER_REST_SIZE
| Constructor Detail |
|---|
public TfmHeaderArray(RandomAccessR rar,
int 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 getFontType()
public int[] getHeaderrest()
public int getXeroxfacecode()
public boolean isSevenBitSafe()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||