diff options
author | Glenn Adams <gadams@apache.org> | 2014-09-26 09:55:40 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2014-09-26 09:55:40 +0000 |
commit | ef5390b57f25545cd3f281965dae6e8f1a90676e (patch) | |
tree | efbd838d485e6737933a204ed89e4149a8a21637 | |
parent | ec1da9e25ca22853d9bd9be9d4bb6a39dea58ec3 (diff) | |
download | xmlgraphics-fop-ef5390b57f25545cd3f281965dae6e8f1a90676e.tar.gz xmlgraphics-fop-ef5390b57f25545cd3f281965dae6e8f1a90676e.zip |
FOP-2391: ensure derived font triplet is used
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1627733 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/svg/font/FOPGVTFont.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/svg/font/FOPGVTFont.java b/src/java/org/apache/fop/svg/font/FOPGVTFont.java index fd92e36bc..3a1b49c78 100644 --- a/src/java/org/apache/fop/svg/font/FOPGVTFont.java +++ b/src/java/org/apache/fop/svg/font/FOPGVTFont.java @@ -129,11 +129,11 @@ public class FOPGVTFont implements GVTFont { } public String getFontKey() { - return ((FOPGVTFontFamily) fontFamily).getFontKey(); + return font.getFontName(); } public FontTriplet getFontTriplet() { - return ((FOPGVTFontFamily) fontFamily).getFontTriplet(); + return font.getFontTriplet(); } public String getFamilyName() { |