git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719589
13f79535-47bb-0310-9956-
ffa450edef68
if (afpFontAttributes == null) {
afpFontAttributes = new AFPFontAttributes(fontName, font, fontSize);
super.put(pageFontKey, afpFontAttributes);
- afpFontAttributes.setFontReference(super.size());
+ int fontRef = super.size();
+ afpFontAttributes.setFontReference(fontRef);
}
return afpFontAttributes;
}
private GraphicsData currentData = null;
/** list of objects contained within this container */
- protected List/*<GraphicsDrawingOrder>*/ objects
- = new java.util.ArrayList/*<GraphicsDrawingOrder>*/();
+ protected List/*<GraphicsData>*/ objects
+ = new java.util.ArrayList/*<GraphicsData>*/();
/** the graphics state */
private final GraphicsState graphicsState = new GraphicsState();