aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/PrintRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/PrintRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/PrintRenderer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/PrintRenderer.java b/src/java/org/apache/fop/render/PrintRenderer.java
index 585017a11..4de65e561 100644
--- a/src/java/org/apache/fop/render/PrintRenderer.java
+++ b/src/java/org/apache/fop/render/PrintRenderer.java
@@ -23,6 +23,7 @@ import org.apache.fop.area.Area;
import org.apache.fop.area.Trait;
import org.apache.fop.fonts.Font;
import org.apache.fop.fonts.FontInfo;
+import org.apache.fop.fonts.FontResolver;
import org.apache.fop.fonts.FontSetup;
import org.apache.fop.fonts.FontTriplet;
@@ -46,7 +47,8 @@ public abstract class PrintRenderer extends AbstractRenderer {
*/
public void setupFontInfo(FontInfo inFontInfo) {
this.fontInfo = inFontInfo;
- FontSetup.setup(fontInfo, fontList, userAgent);
+ FontResolver resolver = new DefaultFontResolver(userAgent);
+ FontSetup.setup(fontInfo, fontList, resolver, userAgent.isBase14KerningEnabled());
}
/**