org.pentaho.reporting.libraries.fonts.truetype
public class TrueTypeFontMetrics extends Object implements FontMetrics
| Constructor Summary | |
|---|---|
| TrueTypeFontMetrics(ScalableTrueTypeFontMetrics fontMetrics, double fontSize) | |
| 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 character) |
| long | getDescent() |
| long | getItalicAngle() |
| long | getKerning(int previous, int character) |
| long | getLeading() |
| long | getMaxAscent() |
| long | getMaxCharAdvance() |
| long | getMaxDescent() |
| long | getMaxHeight() |
| long | getOverlinePosition() |
| long | getStrikeThroughPosition() |
| long | getUnderlinePosition() |
| long | getXHeight() |
| boolean | isUniformFontMetrics()
Is it guaranteed that the font always returns the same baseline info objct?
|
Returns:
Parameters: c
Returns:
Returns: true, if the baseline info in question is always the same, false otherwise.