aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-12-15 22:20:48 +0000
committerJeremias Maerki <jeremias@apache.org>2005-12-15 22:20:48 +0000
commit811fd3eefbfb06cb945bb3599523b7f3a15f251e (patch)
tree66bba8948beb68ee1cccb39655ece6d4516cfac7 /src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java
parent0052c3f3bbe504304dabc836fe708fa49b391ed1 (diff)
downloadxmlgraphics-fop-811fd3eefbfb06cb945bb3599523b7f3a15f251e.tar.gz
xmlgraphics-fop-811fd3eefbfb06cb945bb3599523b7f3a15f251e.zip
NOTE: API changes in a backwards-incompatible way: FOUserAgent.setResolution() -> FOUserAgent.setSourceResolution() and FOUserAgent.setTargetResolution()
Resolution parameter to the user agent is split into: - a source resolution used to determine the pixel size in SVG images and bitmap without resolution information - a target resolution used to specify the output resolution of bitmap images generated by bitmap renderers and bitmaps generated by Batik for filter effects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357081 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java')
-rw-r--r--src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java b/src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java
index 65712330c..fbf8382eb 100644
--- a/src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java
+++ b/src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java
@@ -157,7 +157,7 @@ public class Java2DSVGHandler implements XMLHandler {
int x = info.currentXPosition;
int y = info.currentYPosition;
- float ptom = context.getUserAgent().getPixelUnitToMillimeter();
+ float ptom = context.getUserAgent().getSourcePixelUnitToMillimeter();
SVGUserAgent ua = new SVGUserAgent(ptom, new AffineTransform());
GVTBuilder builder = new GVTBuilder();