diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/afp/AFPRenderer.java | 4 |
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();) { |