Sean wrote: > I have just uploaded two word wrap examples. They are inspired by > Antoine Quint's tutorial at > http://www.xml.com/pub/a/2002/09/11/quint.html?page=1. The tutorial was > overkill for, so I tried to simplify it...it's simpler to me. > WordWrap.zip is a php version that reads from a text document and > inserts the text into the svg. WordWrap2.zip has the text in the svg > document already. Both handle paragraphs. The second example I flagged > each paragraph with "-pA-". The php version has the advantage of not > having to flag paragraphs. > > Sean > Hi Sean,
this doesn't work for firefox. I knew about the XML.com-Tutorial and have given it a try to make it ff-compatible. But i can't upload the files, so here is a link to the files on my site: http://www.toomuchcookies.net/twrap/TextWrap.svg.php Mainly, i fixed the problem with the namespaces and added a setTimeout, so that the getBBox-function (or getComputedTextLength) can execute. Unfortunately ff doesn't seem to understand the word-spacing css-command so that the alignment "justify" does only work as a "left"-alignment. Also in ff it is soooooo slow! If anybody has any idea, why that is, please let me know. It's a start.. Cya. Omar ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

