Revision: 7717
Author: victormote
Date: 2006-06-19 15:43:23 -0700 (Mon, 19 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7717&view=rev
Log Message:
-----------
Conform to axsl change: Don't require the text-related stuff for the non-SVG graphics.
Modified Paths:
--------------
trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFContentStream.java
Modified: trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFContentStream.java
===================================================================
--- trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFContentStream.java 2006-06-19 22:36:04 UTC (rev 7716)
+++ trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFContentStream.java 2006-06-19 22:43:23 UTC (rev 7717)
@@ -230,15 +230,9 @@
* {@inheritDoc}
*/
public void drawGraphic(Rectangle2D.Float contentRectangle,
- Rectangle2D.Float clipRectangle, Graphic image,
- FontUse font, float fontSize, float letterSpacing,
- boolean strokeSVGText) {
+ Rectangle2D.Float clipRectangle, Graphic image) {
+ /* Use drawSVG() method for SVG. */
if (image instanceof SVGGraphic) {
- try {
- SVGDocument svg = ((SVGGraphic) image).getSVGDocument();
- drawSVGDocument(svg, contentRectangle, clipRectangle, font,
- fontSize, letterSpacing, strokeSVGText);
- } catch (GraphicException e) {}
return;
}
PDFXObject xObject;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|