public class FontMetricsHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
AUTO_FONT_HEIGHT_FACTOR |
protected java.awt.font.FontRenderContext |
fontRendererContext |
Constructor and Description |
---|
FontMetricsHelper() |
Modifier and Type | Method and Description |
---|---|
protected Measure |
calculateJavaFontLineHeight(FontSupport foFont,
RTFProperties rtfProps)
Calculate the font height by using Java font metrics.
|
public static final double AUTO_FONT_HEIGHT_FACTOR
protected java.awt.font.FontRenderContext fontRendererContext
protected Measure calculateJavaFontLineHeight(FontSupport foFont, RTFProperties rtfProps)
foFont
- Font properties of XSL-FO output.rtfProps
- Format properties of RTF.© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.