aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/render/awt
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-08-09 14:04:21 +0000
committerKeiron Liddle <keiron@apache.org>2001-08-09 14:04:21 +0000
commit7a27bcdf7ea8bc0898d820b1e944c4aed6245e15 (patch)
tree1fc0a59a6fb8a6b1f6f6c48fcaaa7895d654f74f /src/org/apache/fop/render/awt
parentbaf7a548a0a62180c89f32626d85ce05712638db (diff)
downloadxmlgraphics-fop-7a27bcdf7ea8bc0898d820b1e944c4aed6245e15.tar.gz
xmlgraphics-fop-7a27bcdf7ea8bc0898d820b1e944c4aed6245e15.zip
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
Diffstat (limited to 'src/org/apache/fop/render/awt')
-rw-r--r--src/org/apache/fop/render/awt/AWTRenderer.java4
1 files changed, 3 insertions, 1 deletions
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
}
/**