| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a PFM file (or parts of it) as a Java object.
Constructor Summary | |
PFMFile() |
Method Summary | |
int | getCapHeight() Returns the CapHeight parameter for the font (height of uppercase H). |
short | getCharSet() Returns the charset used for the font. |
String | getCharSetName() Returns the charset of the font as a string. |
int | getCharWidth(short which) Returns the width of a character |
short | getFirstChar() Returns the number of the character that defines the first entry in the widths list. |
int | getFlags() Returns the characteristics flags for the font as needed for a PDF font descriptor (See PDF specs). |
int[] | getFontBBox() Returns the bounding box for the font. |
boolean | getIsProportional() Tells whether the font has proportional character spacing. |
int | getItalicAngle() Returns the italic angle of the font. |
short | getLastChar() Returns the number of the character that defines the last entry in the widths list. |
int | getLowerCaseAscent() Returns the LowerCaseAscent parameter for the font (height of lowercase d). |
int | getLowerCaseDescent() Returns the LowerCaseDescent parameter for the font (height of lowercase p). |
String | getPostscriptName() Returns the Postscript name of the font. |
int | getStemV() Returns the width of the dominant vertical stems of the font. |
String | getWindowsName() Returns the Windows name of the font. |
int | getXHeight() Returns the XHeight parameter for the font (height of lowercase x). |
void | load(InputStream inStream) Parses a PFM file |
Constructor Detail |
public PFMFile()
Method Detail |
public int getCapHeight()
public short getCharSet()
public String getCharSetName()
public int getCharWidth(short which)
public short getFirstChar()
public int getFlags()
public int[] getFontBBox()
public boolean getIsProportional()
public int getItalicAngle()
public short getLastChar()
public int getLowerCaseAscent()
public int getLowerCaseDescent()
public String getPostscriptName()
public int getStemV()
public String getWindowsName()
public int getXHeight()
public void load(InputStream inStream)
throws java.io.IOException
Association Links |
to Class java.lang.String
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |