keiron      01/08/09 07:04:21

  Modified:    src/org/apache/fop/render/awt AWTRenderer.java
  Log:
  changed the dpi for svg to 72 to be the same as other things in fop
  value should be in one place
  
  - same goes for other renderers
  
  Revision  Changes    Path
  1.31      +4 -2      xml-fop/src/org/apache/fop/render/awt/AWTRenderer.java
  
  Index: AWTRenderer.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/render/awt/AWTRenderer.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- AWTRenderer.java  2001/08/06 06:21:02     1.30
  +++ AWTRenderer.java  2001/08/09 14:04:21     1.31
  @@ -1,5 +1,5 @@
   /*
  - * $Id: AWTRenderer.java,v 1.30 2001/08/06 06:21:02 keiron Exp $
  + * $Id: AWTRenderer.java,v 1.31 2001/08/09 14:04:21 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -1031,7 +1031,9 @@
            * Returns a customized the pixel to mm factor.
            */
           public float getPixelToMM() {
  -            return 0.264583333333333333333f;    // 72 dpi
  +            // this is set to 72dpi as the values in fo are 72dpi
  +            return 0.35277777777777777778f; // 72 dpi
  +            // return 0.26458333333333333333333333333333f;    // 96dpi
           }
   
           /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to