diff options
author | Keiron Liddle <keiron@apache.org> | 2002-08-19 09:40:56 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-08-19 09:40:56 +0000 |
commit | 7becb774bcd26013bb20cee1f44b7705d885107c (patch) | |
tree | a77425ecdfce9cafa37bd883c7f136897e8a6118 /src/org/apache | |
parent | f99ca3094f7fabadb95d14bc53765b59293ef0c7 (diff) | |
download | xmlgraphics-fop-7becb774bcd26013bb20cee1f44b7705d885107c.tar.gz xmlgraphics-fop-7becb774bcd26013bb20cee1f44b7705d885107c.zip |
properly sets the dpi val
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195094 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache')
-rw-r--r-- | src/org/apache/fop/svg/SVGElement.java | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/org/apache/fop/svg/SVGElement.java b/src/org/apache/fop/svg/SVGElement.java index 47703ead7..e505fbab3 100644 --- a/src/org/apache/fop/svg/SVGElement.java +++ b/src/org/apache/fop/svg/SVGElement.java @@ -164,8 +164,9 @@ public class SVGElement extends SVGObj { float pixeltoMM; public PDFUnitContext(int size, Element e, float ptmm) { - this.e = e; + this.e = e; this.fontSize = size; + this.pixeltoMM = ptmm; } /** @@ -176,7 +177,7 @@ public class SVGElement extends SVGObj { } /** - * Returns the context of the parent element of this context. + * Returns the context of the parent element of this context. * Since this is always for the root SVG element there never * should be one... */ @@ -195,13 +196,6 @@ public class SVGElement extends SVGObj { } /** - * Returns the font-size medium value in pt. - */ - public float getMediumFontSize() { - return 9f; - } - - /** * Returns the font-size value. */ public float getFontSize() { |