The Rect is generated using a wrong transformation matrix.
I've attached the java source I've used and a tiny svg example. This happens with both 0.94 and svn.This does not happen using fop if I include the svg in a xsl:fo document with fo:external-graphic.
-- Abramo Bagnara mailto:[EMAIL PROTECTED] Opera Unica Phone: +39.0546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy
<<inline: disegno.svg>>
import java.io.*;
import org.apache.fop.svg.PDFTranscoder;
import org.apache.batik.transcoder.TranscoderInput;
import org.apache.batik.transcoder.TranscoderOutput;
public class svg2pdf {
public static void main(String[] args) throws Exception {
PDFTranscoder t = new PDFTranscoder();
String svgURI = new File(args[0]).toURL().toString();
TranscoderInput input = new TranscoderInput(svgURI);
OutputStream ostream = new FileOutputStream(args[1]);
TranscoderOutput output = new TranscoderOutput(ostream);
t.transcode(input, output);
ostream.flush();
ostream.close();
System.exit(0);
}
}
