Revision: 7726
Author: victormote
Date: 2006-06-19 17:18:48 -0700 (Mon, 19 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7726&view=rev
Log Message:
-----------
Conform to axsl change: Remove font-specific information from SVG method. This should come from the SVG itself.
Modified Paths:
--------------
trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java
Modified: trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java 2006-06-20 00:18:40 UTC (rev 7725)
+++ trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java 2006-06-20 00:18:48 UTC (rev 7726)
@@ -243,9 +243,8 @@
* to do. */
return;
}
- FontUse font = area.getPrimaryFont();
getContentStream().drawSVGDocument(svgDocument, pdfContentRectangle,
- pdfClipRectangle, font, getStrokeSVGText());
+ pdfClipRectangle, area.getFontConsumer(), getStrokeSVGText());
}
/**
@@ -266,9 +265,9 @@
Rectangle2D.Float contentRectangle = new Rectangle2D.Float(
area.rrOriginX() / 1000f, area.rrOriginY() / 1000,
area.rrIPD() / 1000f, area.rrBPD() / 1000f);
- FontUse font = area.getPrimaryFont();
getContentStream().drawSVGDocument(area.getSVGDocument(),
- contentRectangle, null, font, getStrokeSVGText());
+ contentRectangle, null, area.getFontConsumer(),
+ getStrokeSVGText());
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|