]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed conversion from millipoints to half-points
authorJeremias Maerki <jeremias@apache.org>
Mon, 1 Nov 2004 12:38:48 +0000 (12:38 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 1 Nov 2004 12:38:48 +0000 (12:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198118 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/rtf/FOPRtfAttributes.java

index 381d339407c450e6cae87bb4b0ab56b2d0768986..d4d80e9b2ef934e74148772e0d2e5cf56bfdc793 100755 (executable)
@@ -36,7 +36,7 @@ public class FOPRtfAttributes extends RtfAttributes {
      * @return this (which now contains the new entry)
      */
     public RtfAttributes set(String name, Length value) {
-        set(name, value.getValue() / (1000 / 20));
+        set(name, value.getValue() / (1000 / 2)); //Convert millipoints to half-points
         return this;
     }