org.pentaho.reporting.libraries.fonts.itext

Class BaseFontFontMetrics

public class BaseFontFontMetrics extends Object implements FontMetrics

Creation-Date: 22.07.2007, 19:04:00

Author: Thomas Morgner

Constructor Summary
BaseFontFontMetrics(BaseFont baseFont, float size)
Method Summary
longgetAscent()
BaseFontgetBaseFont()
BaselineInfogetBaselines(int c, BaselineInfo info)
longgetCharWidth(int character)
longgetDescent()
longgetItalicAngle()
longgetKerning(int previous, int codePoint)
longgetLeading()
longgetMaxAscent()
longgetMaxCharAdvance()
longgetMaxDescent()
longgetMaxHeight()
longgetOverlinePosition()
longgetStrikeThroughPosition()
longgetUnderlinePosition()
longgetXHeight()
booleanisTrueTypeFont()
booleanisUniformFontMetrics()
Is it guaranteed that the font always returns the same baseline info objct?

Constructor Detail

BaseFontFontMetrics

public BaseFontFontMetrics(BaseFont baseFont, float size)

Method Detail

getAscent

public long getAscent()

getBaseFont

public BaseFont getBaseFont()

getBaselines

public BaselineInfo getBaselines(int c, BaselineInfo info)

getCharWidth

public long getCharWidth(int character)

getDescent

public long getDescent()

getItalicAngle

public long getItalicAngle()

getKerning

public long getKerning(int previous, int codePoint)

getLeading

public long getLeading()

getMaxAscent

public long getMaxAscent()

getMaxCharAdvance

public long getMaxCharAdvance()

getMaxDescent

public long getMaxDescent()

getMaxHeight

public long getMaxHeight()

getOverlinePosition

public long getOverlinePosition()

getStrikeThroughPosition

public long getStrikeThroughPosition()

getUnderlinePosition

public long getUnderlinePosition()

getXHeight

public long getXHeight()

isTrueTypeFont

public boolean isTrueTypeFont()

isUniformFontMetrics

public boolean isUniformFontMetrics()
Is it guaranteed that the font always returns the same baseline info objct?

Returns: true, if the baseline info in question is always the same, false otherwise.