You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2004/11/01 13:38:48 UTC

cvs commit: xml-fop/src/java/org/apache/fop/render/rtf FOPRtfAttributes.java

jeremias    2004/11/01 04:38:48

  Modified:    src/java/org/apache/fop/render/rtf FOPRtfAttributes.java
  Log:
  Fixed conversion from millipoints to half-points
  
  Revision  Changes    Path
  1.2       +2 -2      xml-fop/src/java/org/apache/fop/render/rtf/FOPRtfAttributes.java
  
  Index: FOPRtfAttributes.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/rtf/FOPRtfAttributes.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FOPRtfAttributes.java	1 Oct 2004 09:05:23 -0000	1.1
  +++ FOPRtfAttributes.java	1 Nov 2004 12:38:48 -0000	1.2
  @@ -36,7 +36,7 @@
        * @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;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org