Hi Antonio,

I had a look at your 2 PDFs. The difference is that in the 1.6 example the text stays text and isn't converted to geometry. In the SVN version every character is converted to path geometry which bloats the file. Its still vector, but its not text and therefore text is not selectable. I converted your file with batik-rasterizer on the mac (with the SVN version) and get the same results, although the resulting file is not 82k but 50k.

I remember that there was a trick to force text to stay text and also to embed fonts in the PDF. But I cannot quickly find it. I think it was related to FOP.

Maybe someone else can comment.

Andreas

Antonio Broughton wrote:

Hi,

You can download a zip file at http://www.flerwin.net/batiktest.zip

The ZIP file contains the Java source code, the SVG file and also the two
resulting PDF files

2kbyte one is when using batik 1.6 and the 82kbyte one is when using batik
SVN trunk

The only difference that I did when running the code, is change which
batik version I was using! (1.6 or svn trunk)

Thanks
Antonio Broughton



Andreas Neumann wrote:
Hi Antonio,

it would probably help if you'd posts the source code or link to the
svg file you are rendering to PDF. So people can have a look why Batik
is rasterizing your content. It might be related to group opacity,
filters, etc.

Andreas





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to