org.pentaho.reporting.libraries.fonts.registry
public class EmptyFontMetrics extends Object implements FontMetrics
Constructor Summary | |
---|---|
EmptyFontMetrics(double baseWidth, double baseHeight) | |
EmptyFontMetrics(long baseWidth, long baseHeight) |
Method Summary | |
---|---|
long | getAscent()
From the baseline to the
|
BaselineInfo | getBaselines(int c, 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: c
Returns:
Returns:
Returns: true, if the baseline info in question is always the same, false otherwise.