org.jfree.layouting.output
Class DefaultFontContext
java.lang.Object
org.jfree.layouting.output.DefaultFontContext
- FontContext
public class DefaultFontContext
extends java.lang.Object
implements FontContext
Creation-Date: 23.06.2006, 17:37:56
DefaultFontContext
public DefaultFontContext(OutputProcessorMetaData metaData,
boolean antiAliased,
double size,
String encoding,
boolean embedded)
getEncoding
public String getEncoding()
getFontSize
public double getFontSize()
The requested font size. A font may have a fractional font size (ie. 8.5
point). The font size may be influenced by the output target.
isAntiAliased
public boolean isAntiAliased()
This is controlled by the output target and the stylesheet. If the output
target does not support aliasing, it makes no sense to enable it and all
such requests are ignored.
isEmbedded
public boolean isEmbedded()
isFractionalMetrics
public boolean isFractionalMetrics()
This is defined by the output target. This is not controlled by the
stylesheet.