import org.apache.fop.apps.FOPException;
import org.apache.fop.area.PageViewport;
import org.apache.fop.render.AbstractRenderer;
+import org.apache.fop.render.FontData;
import org.apache.fop.render.awt.viewer.PreviewDialog;
import org.apache.fop.render.awt.viewer.Translator;
private Map fontStyles = new java.util.Hashtable();
private Color saveColor = null;
+ protected Fonts fontData = null;
+ public FontData getFontData() {
+ return fontData;
+ }
/**
* The preview dialog frame used for display of the documents.
* Also used as the AWT Component for FontSetup in generating
protected PreviewDialog frame;
public AWTRenderer() {
+ fontData = new Fonts();
translator = new Translator();
//createPreviewDialog();
}
- /**
- * Returns the graphics environment (including available font information)
- * for this renderer.
- *
- * @return the graphics environment for this renderer
- */
- public GraphicsEnvironment getGraphicsEnvironment() {
- return gEnv;
- }
-
/**
* @see org.apache.fop.render.Renderer
*/