The example I uploaded earlier works fine, but I'm trying to implement a 
version that scales, and it won't cooperate.  I uploaded two examples 
under 1WordWrap.zip.  In textWrapTest2.svg, my main svg tag looks like:

<svg id="outer" x="0" y="0" width="100%" height="100%" viewBox="0 0 700 
585">.

In textWrapTest2b.svg:

<svg id="outer" x="0" y="0" width="700" height="585" viewBox="0 0 700 585">.

In both, the inner svg tag looks like:

<svg id="textBox" x="0" y="0" width="300" height="400">.

When I scale the width and height to 100%, my text is slightly off, 
causing problems.  I've tried to isolate the issue, but I am at a loss.  
Any insight would be most appreciated.  Thank you.

Sean

Sean wrote:

>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
>>
>> 
>>
>>    
>>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



-----
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/
 


Reply via email to