From 7a27bcdf7ea8bc0898d820b1e944c4aed6245e15 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Thu, 9 Aug 2001 14:04:21 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194401 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/render/awt/AWTRenderer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/apache/fop/render/awt/AWTRenderer.java b/src/org/apache/fop/render/awt/AWTRenderer.java index eb57617a0..5907f5de3 100644 --- a/src/org/apache/fop/render/awt/AWTRenderer.java +++ b/src/org/apache/fop/render/awt/AWTRenderer.java @@ -1031,7 +1031,9 @@ public class AWTRenderer implements Renderer, Printable, Pageable { * 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 } /** -- 2.39.5