|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.tfm.TfmReader
public class TfmReader
This class read a TFM-file.
| Constructor Summary | |
|---|---|
TfmReader(java.io.InputStream in,
java.lang.String afontname)
Create e new object. |
|
TfmReader(RandomAccessR rar,
java.lang.String afontname)
Create e new object. |
|
| Method Summary | |
|---|---|
TfmCharInfoArray |
getCharinfo()
Returns the charinfo. |
int |
getChecksum()
Returns the checksum. |
java.lang.String |
getCodingscheme()
Returns the coding scheme of the font. |
TfmDepthArray |
getDepth()
Returns the depth. |
TfmFixWord |
getDepth(int pos)
Returns the depth of a char. |
FixedDimen |
getDesignSize()
Returns the design size. |
TfmFixWord |
getDesignSizeAsFixWord()
Returns the design size as fix word. |
java.lang.String[] |
getEnctable()
Returns the enctable. |
TfmExtenArray |
getExten()
Returns the exten. |
int |
getFace()
Returns the face of the font. |
java.lang.String |
getFontFamily()
Returns the font family. |
java.lang.String |
getFontname()
Returns the fontname. |
TfmFontType |
getFontType()
Returns the font type. |
TfmHeaderArray |
getHeader()
Returns the header. |
TfmHeightArray |
getHeight()
Returns the height. |
TfmFixWord |
getHeight(int pos)
Returns the height of a char. |
TfmItalicArray |
getItalic()
Returns the italic. |
TfmFixWord |
getItalicCorrection(int pos)
Returns the italic correction of a char. |
TfmKernArray |
getKern()
Returns the kern. |
TfmFixWord |
getKerning(int cp1,
int cp2)
TODO mgn: missing JavaDoc |
TfmHeaderLengths |
getLengths()
Returns the lengths. |
int |
getLigature(int cp1,
int cp2)
TODO mgn: missing JavaDoc |
TfmLigKernArray |
getLigkern()
Returns the ligkern. |
TfmParamArray |
getParam()
Returns the param. |
FixedDimen |
getParam(java.lang.String name)
Returns the value of a font parameter. |
TfmFixWord |
getParamAsFixWord(java.lang.String name)
Returns the value of a font parameter as a fix word. |
java.lang.String |
getPfbfilename()
Returns the pfb file name. |
TfmWidthArray |
getWidth()
Returns the width. |
TfmFixWord |
getWidth(int pos)
Returns the width of a char. |
void |
visit(TfmVisitor visitor)
Visit for the TfmVisitor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TfmReader(java.io.InputStream in,
java.lang.String afontname)
throws java.io.IOException
in - The input.afontname - The font name.
java.io.IOException - if a IO-error occurred.
public TfmReader(RandomAccessR rar,
java.lang.String afontname)
throws java.io.IOException
rar - The input.afontname - The font name.
java.io.IOException - if a IO-error occurred.| Method Detail |
|---|
public TfmCharInfoArray getCharinfo()
public int getChecksum()
public java.lang.String getCodingscheme()
TfmHeaderArray.getCodingscheme()public TfmDepthArray getDepth()
public TfmFixWord getDepth(int pos)
pos - the position
null, if it does not
exist.public FixedDimen getDesignSize()
public TfmFixWord getDesignSizeAsFixWord()
public java.lang.String[] getEnctable()
public TfmExtenArray getExten()
public int getFace()
public java.lang.String getFontFamily()
public java.lang.String getFontname()
public TfmFontType getFontType()
public TfmHeaderArray getHeader()
public TfmHeightArray getHeight()
public TfmFixWord getHeight(int pos)
pos - the position
null, if it does not
exist.public TfmItalicArray getItalic()
public TfmFixWord getItalicCorrection(int pos)
pos - the position
null, if it
does not exist.public TfmKernArray getKern()
public TfmFixWord getKerning(int cp1,
int cp2)
cp1 - ...cp2 - ...
TfmLigKernArray.getKerning(int, int)public TfmHeaderLengths getLengths()
public int getLigature(int cp1,
int cp2)
cp1 - ...cp2 - ...
TfmLigKernArray.getLigature(int, int)public TfmLigKernArray getLigkern()
public TfmParamArray getParam()
public FixedDimen getParam(java.lang.String name)
name - the name of the parameter.
public TfmFixWord getParamAsFixWord(java.lang.String name)
name - the name of the parameter.
public java.lang.String getPfbfilename()
public TfmWidthArray getWidth()
public TfmFixWord getWidth(int pos)
pos - the position
null, if it does not
exist.
public void visit(TfmVisitor visitor)
throws java.io.IOException
TfmVisitor.
visitor - The visitor.
java.io.IOException - if a io error occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||