From 7e32b20760f622882c00835810f3b72a67e58744 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Tue, 25 May 2004 15:24:10 +0000 Subject: [PATCH] Added FontData git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197625 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/flow/FoPcdata.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/fo/flow/FoPcdata.java b/src/java/org/apache/fop/fo/flow/FoPcdata.java index 63041d8c8..105aabe7d 100644 --- a/src/java/org/apache/fop/fo/flow/FoPcdata.java +++ b/src/java/org/apache/fop/fo/flow/FoPcdata.java @@ -31,6 +31,7 @@ import org.apache.fop.fo.FOTree; import org.apache.fop.fo.FObjectNames; import org.apache.fop.fo.PropNames; import org.apache.fop.fo.PropertySets; +import org.apache.fop.render.FontData; import org.apache.fop.xml.XmlEvent; /** @@ -111,6 +112,7 @@ public class FoPcdata extends FOPageSeqNode { /** The #PCDATA characters. */ private String characters; + private FontData fontData; /** * Construct an FoPcdata object to contain the characters from a @@ -132,6 +134,7 @@ public class FoPcdata extends FOPageSeqNode { super(foTree, FObjectNames.PCDATA, pageSequence, parent, event, stateFlags, sparsePropsMap, sparseIndices); characters = event.getChars(); + fontData = foTree.getFontData(); makeSparsePropsSet(); } @@ -152,7 +155,7 @@ public class FoPcdata extends FOPageSeqNode { */ private void processText() { // Get the font - // + } } -- 2.39.5