SVG previewer no longer display text in rel. 11??
Oxygen general issues.
-
- 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.
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.
-
- Posts: 9496
- Joined: Fri Jul 09, 2004 5:18 pm
Re: SVG previewer no longer display text in rel. 11??
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- 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
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
-
- Posts: 9496
- Joined: Fri Jul 09, 2004 5:18 pm
Re: SVG previewer no longer display text in rel. 11??
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service