| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class implements org.apache.fop.layout.FontMetric and is added to the hash table in FontInfo. It deferes the actual calculation of the metrics to AWTFontMetrics. It only keeps the java name and style as member varibles
Constructor Summary | |
FontMetricsMapper(String family, int style, Component parent) Constructs a new Font-metrics. |
Method Summary | |
int | getAscender(int size) Determines the font ascent of the Font described by this FontMetrics object |
int | getCapHeight(int size) The size of a capital letter measured from the font's baseline |
int | getDescender(int size) Determines the font descent of the Font described by this FontMetrics object |
int | getFirstChar() |
Font | getFont(int size) Gets a Font instance of the Font that this FontMetrics describes in the desired size. |
int | getLastChar() |
int[] | getWidths(int size) return width (in 1/1000ths of point size) of all character |
int | getXHeight(int size) Determines the typical font height of this FontMetrics object |
int | width(int i, int size) return width (in 1/1000ths of point size) of character at code point i. |
Constructor Detail |
public FontMetricsMapper(String family, int style, Component parent)
Method Detail |
public int getAscender(int size)
public int getCapHeight(int size)
public int getDescender(int size)
public int getFirstChar()
public Font getFont(int size)
public int getLastChar()
public int[] getWidths(int size)
public int getXHeight(int size)
public int width(int i, int size)
Association Links |
to Class java.lang.String
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |