org.pentaho.reporting.libraries.fonts.registry.FontContextpublic class DefaultFontContext
extends java.lang.Object
implements org.pentaho.reporting.libraries.fonts.registry.FontContext
| Constructor | Description |
|---|---|
DefaultFontContext(OutputProcessorMetaData metaData,
boolean antiAliased,
double size,
java.lang.String encoding,
boolean embedded) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getEncoding() |
|
double |
getFontSize() |
The requested font size.
|
boolean |
isAntiAliased() |
This is controlled by the output target and the stylesheet.
|
boolean |
isEmbedded() |
|
boolean |
isFractionalMetrics() |
This is defined by the output target.
|
public DefaultFontContext(OutputProcessorMetaData metaData, boolean antiAliased, double size, java.lang.String encoding, boolean embedded)
public java.lang.String getEncoding()
getEncoding in interface org.pentaho.reporting.libraries.fonts.registry.FontContextpublic boolean isEmbedded()
isEmbedded in interface org.pentaho.reporting.libraries.fonts.registry.FontContextpublic boolean isAntiAliased()
isAntiAliased in interface org.pentaho.reporting.libraries.fonts.registry.FontContextpublic boolean isFractionalMetrics()
isFractionalMetrics in interface org.pentaho.reporting.libraries.fonts.registry.FontContextpublic double getFontSize()
getFontSize in interface org.pentaho.reporting.libraries.fonts.registry.FontContext