diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-06 23:29:26 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-06 23:29:26 +0000 |
commit | 2a0465e86c763968013341d03fb6549ae7ca32d4 (patch) | |
tree | ea78001035d54e10e60c958e1638f42cf439b169 | |
parent | 33a9a92b3e4af446cf1d815c21f4e7f0ca1f6088 (diff) | |
download | xmlgraphics-fop-2a0465e86c763968013341d03fb6549ae7ca32d4.tar.gz xmlgraphics-fop-2a0465e86c763968013341d03fb6549ae7ca32d4.zip |
Improvement in handling relative font-weights
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554087 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/fo/FOPropertyMapping.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java index 84f524878..7eea2dd93 100644 --- a/src/java/org/apache/fop/fo/FOPropertyMapping.java +++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java @@ -41,6 +41,7 @@ import org.apache.fop.fo.properties.FontShorthandParser; import org.apache.fop.fo.properties.FontShorthandProperty; import org.apache.fop.fo.properties.FontSizePropertyMaker; import org.apache.fop.fo.properties.FontStretchPropertyMaker; +import org.apache.fop.fo.properties.FontWeightPropertyMaker; import org.apache.fop.fo.properties.GenericShorthandParser; import org.apache.fop.fo.properties.IndentPropertyMaker; import org.apache.fop.fo.properties.KeepProperty; @@ -1032,7 +1033,7 @@ public final class FOPropertyMapping implements Constants { addPropertyMaker("font-variant", m); // font-weight - m = new EnumProperty.Maker(PR_FONT_WEIGHT); + m = new FontWeightPropertyMaker(PR_FONT_WEIGHT); m.setInherited(true); m.addKeyword("normal", "400"); m.addKeyword("bold", "700"); |