From 256567a245370877d5e1b7e52f8f0aec6b3ce9f6 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Thu, 1 May 2008 14:01:54 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/render/afp/AFPRenderer.java | 4 ++-- 1 file 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();) { -- 2.39.5