Page 1 of 1

SVG previewer no longer display text in rel. 11??

Posted: Mon Oct 19, 2009 6:29 pm
by pmareschal
Hello,
I busy with some SVG development and I noticed that <text> are no longer displayed on the convenient built-in previewer. Could someone try this on SVG viewer please?

<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800">
<text x="10" y="25" fill="navy" font-size="15" font-family="times">
It was the best of times.
</text>
</svg>

My previewer stays blank. (While OSX finder's previewer displays the svg properly.) I think it occured after upgrade to rel. 11. I tried different font families, colors, etc.

I have Oxygen 11.0 build 2009100911 on Mac OS X 10.5.8.

Thank you.

Re: SVG previewer no longer display text in rel. 11??

Posted: Tue Oct 20, 2009 10:44 am
by Radu
Hi,

Oxygen uses Batik to render SVG images.
We tested and indeed your sample does not work on Mac (although it seems to work on Windows).
It seems Batik renders the text with white foreground.
It also seems that setting an additional stroke="navy" to it will also display the text from the SVG on the Mac so you can use this as a workaround.

Regards,
Radu

Re: SVG previewer no longer display text in rel. 11??

Posted: Tue Oct 20, 2009 12:22 pm
by pmareschal
Hi Radu,
Thanks for your investigation. I wonder how I didn't test that myself! I tested so many combinations of things!
Yes, the work around is OK for the previewer, but please keep us posted is this gets fixed.
Thanks a lot.
Pierre

Re: SVG previewer no longer display text in rel. 11??

Posted: Tue Oct 20, 2009 1:41 pm
by Radu
Hi Pierre,

I placed a bug for this on the Batik bug list. If something gets done, we'll let you know.

See:
https://issues.apache.org/bugzilla/show ... i?id=48028

Regards,
Radu