diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/properties/LengthProperty.java')
-rw-r--r-- | src/java/org/apache/fop/fo/properties/LengthProperty.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/properties/LengthProperty.java b/src/java/org/apache/fop/fo/properties/LengthProperty.java index 4ffe38074..16bbe430c 100644 --- a/src/java/org/apache/fop/fo/properties/LengthProperty.java +++ b/src/java/org/apache/fop/fo/properties/LengthProperty.java @@ -59,7 +59,7 @@ public abstract class LengthProperty extends Property //Assume pixels (like in HTML) when there's no unit return FixedLength.getInstance( p.getNumeric().getNumericValue(), "px", - propertyList.getFObj().getUserAgent().getSourceResolution() / 72.0f); + propertyList.getFObj().getUserAgent().getTargetResolution() / 72.0f); } Length val = p.getLength(); if (val != null) { |