this.numericFeatures = new HashMap();
this.reusableFontContext = new ReusableFontContext();
this.fontMetricsCache = new HashMap();
this.lookupKey = new FontMetricsKey();
final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);
final double defaultFontSize = extendedConfig.getIntProperty("org.pentaho.reporting.libraries.css.defaults.FontSize", 12);
fontFamilyMapping = new HashMap();
setNumericFeatureValue(OutputProcessorFeature.DEFAULT_FONT_SIZE, defaultFontSize);
final double fontSmoothThreshold =
extendedConfig.getIntProperty("org.pentaho.reporting.libraries.css.defaults.FontSmoothThreshold", 8);
setNumericFeatureValue(OutputProcessorFeature.FONT_SMOOTH_THRESHOLD, fontSmoothThreshold);
final double deviceResolution = extendedConfig.getIntProperty("org.pentaho.reporting.libraries.css.defaults.DeviceResolution", 72);
if (deviceResolution > 0)
{
setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
}
else