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

Oxygen general issues.
pmareschal
Posts: 4
Joined: Thu Jun 16, 2005 3:08 pm
Location: Brussels, Belgium

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

Post 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.
Radu
Posts: 9496
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
pmareschal
Posts: 4
Joined: Thu Jun 16, 2005 3:08 pm
Location: Brussels, Belgium

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

Post 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
Radu
Posts: 9496
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply