aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}
/**