aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/afp
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-05-01 14:01:54 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-05-01 14:01:54 +0000
commit256567a245370877d5e1b7e52f8f0aec6b3ce9f6 (patch)
treef2a737d44a1672868730e02f37a87cb07ab1b996 /src/java/org/apache/fop/render/afp
parent003e8e389cbd1a8139184938fc996f8c2b4e0632 (diff)
downloadxmlgraphics-fop-256567a245370877d5e1b7e52f8f0aec6b3ce9f6.tar.gz
xmlgraphics-fop-256567a245370877d5e1b7e52f8f0aec6b3ce9f6.zip
Forgot about dependency on PrintRenderer, last commit broke the build - will commit this rename later.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652525 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/afp')
-rw-r--r--src/java/org/apache/fop/render/afp/AFPRenderer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/afp/AFPRenderer.java b/src/java/org/apache/fop/render/afp/AFPRenderer.java
index dc649685b..83b8048f9 100644
--- a/src/java/org/apache/fop/render/afp/AFPRenderer.java
+++ b/src/java/org/apache/fop/render/afp/AFPRenderer.java
@@ -279,8 +279,8 @@ public class AFPRenderer extends AbstractPathOrientedRenderer {
public void setupFontInfo(FontInfo inFontInfo) {
this.fontInfo = inFontInfo;
int num = 1;
- if (this.embedFontInfoList != null && this.embedFontInfoList.size() > 0) {
- for (Iterator it = this.embedFontInfoList.iterator(); it.hasNext();) {
+ if (this.fontList != null && this.fontList.size() > 0) {
+ for (Iterator it = this.fontList.iterator(); it.hasNext();) {
AFPFontInfo afi = (AFPFontInfo)it.next();
AFPFont bf = (AFPFont)afi.getAFPFont();
for (Iterator it2 = afi.getFontTriplets().iterator(); it2.hasNext();) {