You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by tk...@apache.org on 2002/03/08 18:31:43 UTC

cvs commit: xml-batik/sources/org/apache/batik/apps/rasterizer SVGConverter.java

tkormann    02/03/08 09:31:43

  Modified:    sources/org/apache/batik/apps/rasterizer SVGConverter.java
  Log:
  workaround the regression we have with rasterizer.
  My code was not a bug just that regard detected the change and
  I was not able to find where the tests have to fixed.
  
  Revision  Changes    Path
  1.10      +4 -2      xml-batik/sources/org/apache/batik/apps/rasterizer/SVGConverter.java
  
  Index: SVGConverter.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/apps/rasterizer/SVGConverter.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SVGConverter.java	7 Mar 2002 09:02:56 -0000	1.9
  +++ SVGConverter.java	8 Mar 2002 17:31:43 -0000	1.10
  @@ -80,7 +80,7 @@
    * <li>pixelToMillimeter: defines the size of a pixel when processing the SVG documents.</li>
    * </ul>
    *
  - * @version $Id: SVGConverter.java,v 1.9 2002/03/07 09:02:56 tkormann Exp $
  + * @version $Id: SVGConverter.java,v 1.10 2002/03/08 17:31:43 tkormann Exp $
    * @author Henri Ruini
    * @author <a href="mailto:vhardy@apache.org">Vincent Hardy</a>
    */
  @@ -729,7 +729,9 @@
           }
   
           // Set onload
  -        map.put(ImageTranscoder.KEY_EXECUTE_ONLOAD, new Boolean(executeOnload));
  +        if (executeOnload) {
  +            map.put(ImageTranscoder.KEY_EXECUTE_ONLOAD, new Boolean(executeOnload));
  +        }
           
           return map;
       }
  
  
  

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