From 7becb774bcd26013bb20cee1f44b7705d885107c Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Mon, 19 Aug 2002 09:40:56 +0000 Subject: [PATCH] properly sets the dpi val git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195094 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/svg/SVGElement.java | 12 +++--------- 1 file 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... */ @@ -194,13 +195,6 @@ public class SVGElement extends SVGObj { return pixeltoMM; } - /** - * Returns the font-size medium value in pt. - */ - public float getMediumFontSize() { - return 9f; - } - /** * Returns the font-size value. */ -- 2.39.5