Class ScalableTrueTypeFontMetrics
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.ScalableTrueTypeFontMetrics
public class ScalableTrueTypeFontMetrics
extends java.lang.Object
This is the scalable backend for truetype fonts. To make any use of it,
you have to apply the font size to these metrics.
- Author:
- Thomas Morgner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
From the baseline to thelong
getFont()
long
long
long
long
long
long
long
long
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScalableTrueTypeFontMetrics
- Throws:
java.io.IOException
-
-
Method Details
-
getAscent
public long getAscent()From the baseline to the- Returns:
-
getDescent
public long getDescent() -
getLeading
public long getLeading() -
getXHeight
public long getXHeight() -
getUnderlinePosition
public long getUnderlinePosition() -
getStrikeThroughPosition
public long getStrikeThroughPosition() -
getFont
-
getItalicAngle
public long getItalicAngle() -
getMaxAscent
public long getMaxAscent() -
getMaxDescent
public long getMaxDescent() -
getMaxCharAdvance
public long getMaxCharAdvance()
-