--- /cygdrive/e/batik-src-1.5/xml-batik/sources/org/apache/batik/transcoder/print/PrintTranscoder.java	2003-04-11 16:59:26.000000000 +0200
+++ ../All Users/Dokumente/SAP/WorkSpace/Batik EPS/sources/org/apache/batik/transcoder/print/PrintTranscoder.java	2004-01-29 19:21:37.573296400 +0100
@@ -298,7 +298,11 @@
                           bounds.getHeight()*scale)/2;
         g.translate(pageFormat.getImageableX() + xMargin,
                     pageFormat.getImageableY() + yMargin);
-        g.scale(scale, scale);
+
+        Boolean disallowScaling = (Boolean)hints.get(KEY_DISALLOW_SCALING);
+        if(disallowScaling != null && !disallowScaling.booleanValue()){
+            g.scale(scale, scale);
+        }
 
 
         //
@@ -575,6 +579,29 @@
     public static final TranscodingHints.Key KEY_SCALE_TO_PAGE
         = new BooleanKey();
 
+    /**
+     * The disallowScaling key.
+     * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
+     * <TR>
+     * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
+     * <TD VALIGN="TOP">KEY_DISALLOW_SCALING</TD></TR>
+     * <TR>
+     * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
+     * <TD VALIGN="TOP">Boolean</TD></TR>
+     * <TR>
+     * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
+     * <TD VALIGN="TOP">false</TD></TR>
+     * <TR>
+     * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
+     * <TD VALIGN="TOP">No</TD></TR>
+     * <TR>
+     * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
+     * <TD VALIGN="TOP">Specifies whether or not the SVG images are scaled
+     *                  at all. This overrides scaleToPage.</TD></TR>
+     * </TABLE> */
+    public static final TranscodingHints.Key KEY_DISALLOW_SCALING
+        = new BooleanKey();
+
     public static final String USAGE = "java org.apache.batik.transcoder.print.PrintTranscoder <svgFileToPrint>";
 
     public static void main(String args[]) throws Exception{
