|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.tfm.TfmHeaderLengths
public class 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
| Field Summary | |
|---|---|
protected int |
bc
smallest character code in the font. |
protected int |
cc
number of character. |
protected int |
ec
largest character code in the font. |
protected int |
lf
length of the entire file. |
protected int |
lh
length of the header data. |
protected int |
nd
number of words in the depth table. |
protected int |
ne
number of words in the extensible character table. |
protected int |
nh
number of words in the height table. |
protected int |
ni
number of words in the italic correction table. |
protected int |
nk
number of words in the kern table. |
protected int |
nl
number of words in the lig/kern table. |
protected int |
np
number of font parameter words. |
protected int |
nw
number of words in the width table. |
| Constructor Summary | |
|---|---|
protected |
TfmHeaderLengths()
Creates a new object. |
|
TfmHeaderLengths(RandomAccessR rar)
Create a new object. |
| Method Summary | |
|---|---|
int |
getBc()
Returns the bc. |
int |
getCc()
Returns the cc. |
int |
getEc()
Returns the ec. |
int |
getLf()
Returns the lf. |
int |
getLh()
Returns the lh. |
int |
getNd()
Returns the nd. |
int |
getNe()
Returns the ne. |
int |
getNh()
Returns the nh. |
int |
getNi()
Returns the ni. |
int |
getNk()
Returns the nk. |
int |
getNl()
Returns the nl. |
int |
getNp()
Returns the np. |
int |
getNw()
Returns the nw. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int bc
protected int cc
protected int ec
protected int lf
protected int lh
protected int nd
protected int ne
protected int nh
protected int ni
protected int nk
protected int nl
protected int np
protected int nw
| Constructor Detail |
|---|
protected TfmHeaderLengths()
public TfmHeaderLengths(RandomAccessR rar)
throws java.io.IOException
rar - the input
java.io.IOException - if an IO-error occurs.| Method Detail |
|---|
public int getBc()
public int getCc()
public int getEc()
public int getLf()
public int getLh()
public int getNd()
public int getNe()
public int getNh()
public int getNi()
public int getNk()
public int getNl()
public int getNp()
public int getNw()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||