From: Keiron Liddle Date: Thu, 9 Aug 2001 14:04:21 +0000 (+0000) Subject: changed the dpi for svg to 72 to be the same as other things in fop X-Git-Tag: fop-0_20_0~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a27bcdf7ea8bc0898d820b1e944c4aed6245e15;p=xmlgraphics-fop.git 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 --- 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 } /**