org.pentaho.reporting.libraries.fonts.monospace
public class MonospaceFontMetrics extends Object implements FontMetrics
Constructor Summary | |
---|---|
MonospaceFontMetrics(float cpi, float lpi) |
Method Summary | |
---|---|
long | getAscent()
From the baseline to the
|
BaselineInfo | getBaselines(int codePoint, BaselineInfo info)
Baselines are defined for scripts, not glyphs. |
long | getCharWidth(int codePoint) |
long | getDescent() |
long | getItalicAngle() |
long | getKerning(int previous, int codePoint) |
long | getLeading() |
long | getMaxAscent() |
long | getMaxCharAdvance() |
long | getMaxDescent() |
long | getMaxHeight() |
long | getOverlinePosition() |
long | getStrikeThroughPosition() |
long | getUnderlinePosition() |
long | getXHeight()
The height of the lowercase 'x'. |
boolean | isUniformFontMetrics()
Is it guaranteed that the font always returns the same baseline info objct?
|
Returns:
Parameters: codePoint
Returns:
Returns:
Returns: true, if the baseline info in question is always the same, false otherwise.