keiron      2002/08/19 02:40:56

  Modified:    src/org/apache/fop/svg SVGElement.java
  Log:
  properly sets the dpi val
  
  Revision  Changes    Path
  1.30      +4 -10     xml-fop/src/org/apache/fop/svg/SVGElement.java
  
  Index: SVGElement.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGElement.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- SVGElement.java   7 Aug 2002 16:54:58 -0000       1.29
  +++ SVGElement.java   19 Aug 2002 09:40:56 -0000      1.30
  @@ -164,8 +164,9 @@
           float pixeltoMM;
   
           public PDFUnitContext(int size, Element e, float ptmm) {
  -            this.e  = e;
  +            this.e = e;
               this.fontSize = size;
  +            this.pixeltoMM = ptmm;
           }
   
           /**
  @@ -176,7 +177,7 @@
           }
   
           /**
  -      * Returns the context of the parent element of this context.
  +         * Returns the context of the parent element of this context.
            * Since this is always for the root SVG element there never
            * should be one...
            */
  @@ -192,13 +193,6 @@
           }
           public float getPixelUnitToMillimeter() {
               return pixeltoMM;
  -        }
  -
  -        /**
  -         * Returns the font-size medium value in pt.
  -         */
  -        public float getMediumFontSize() {
  -            return 9f;
           }
   
           /**
  
  
  

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

Reply via email to