org.pentaho.reporting.libraries.fonts.registry
public interface FontMetrics
| Method Summary | |
|---|---|
| long | getAscent()
The font ascent is the distance from the font's baseline to the top of most alphanumeric characters. |
| BaselineInfo | getBaselines(int codePoint, BaselineInfo info)
Baselines are defined for scripts, not glyphs. |
| long | getCharWidth(int codePoint) |
| long | getDescent()
The font descent is the distance from the font's baseline to the bottom of most alphanumeric characters. |
| long | getItalicAngle() |
| long | getKerning(int previous, int codePoint) |
| long | getLeading()
The standard leading, or interline spacing, is the logical amount of space to be reserved between the descent of
one line of text and the ascent of the next line. |
| 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: the ascent.
Parameters: codePoint info
Returns:
Returns: the descent.
Returns: the leading.
Returns:
Returns: true, if the baseline info in question is always the same, false otherwise.