aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorChris Bowditch <cbowditch@apache.org>2011-11-17 12:10:34 +0000
committerChris Bowditch <cbowditch@apache.org>2011-11-17 12:10:34 +0000
commit32ad33cda1ee32f8bb6fa5212933827485787d37 (patch)
treeb608ef7bac41d71f24a4085e11f88ec997e1c603 /src/java/org/apache
parent02303acdd92bbdd79dfe9b8866617209b183ae26 (diff)
downloadxmlgraphics-fop-32ad33cda1ee32f8bb6fa5212933827485787d37.tar.gz
xmlgraphics-fop-32ad33cda1ee32f8bb6fa5212933827485787d37.zip
Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fonts
Patch submitted by Mehdi Houshmand (mehdi1985 at gmail.com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203163 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java b/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java
index 8ee36ec1f..dc2bec352 100644
--- a/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java
+++ b/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java
@@ -70,7 +70,7 @@ public class TTFFontLoader extends FontLoader {
public TTFFontLoader(String fontFileURI, String subFontName,
boolean embedded, EncodingMode encodingMode, boolean useKerning,
FontResolver resolver) {
- super(fontFileURI, embedded, true, resolver);
+ super(fontFileURI, embedded, useKerning, resolver);
this.subFontName = subFontName;
this.encodingMode = encodingMode;
if (this.encodingMode == EncodingMode.AUTO) {