diff options
author | Chris Bowditch <cbowditch@apache.org> | 2011-11-17 12:10:34 +0000 |
---|---|---|
committer | Chris Bowditch <cbowditch@apache.org> | 2011-11-17 12:10:34 +0000 |
commit | 32ad33cda1ee32f8bb6fa5212933827485787d37 (patch) | |
tree | b608ef7bac41d71f24a4085e11f88ec997e1c603 /src/java | |
parent | 02303acdd92bbdd79dfe9b8866617209b183ae26 (diff) | |
download | xmlgraphics-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')
-rw-r--r-- | src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java | 2 |
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) { |