On Sat, 06 Oct 2007 22:16:42 +0200, Jerrold Maddox <[EMAIL PROTECTED]> wrote:

> Can anyone give their best guess on when text flow and word wrapping
> will be recommended by W3C and supported in any of the browsers?

Opera 9.5 introduces support for textArea, from SVG Tiny 1.2. This allows  
textflow in a rectangular region in SVG. Another option to use  
foreignObject to let HTML do textwrapping for you, in case more advanced  
layout is required (images, lists etc).

> The working draft from 2002, says this:
>
> Text
>     1. SVG 1.2 should allow word wrapping and forced line breaks for
> text within multiple rectangles [SVG 1.2]
>     2. SVG 2.0 should allow word wrapping, forced line breaks and text
> flow within multiple shapes [SVG 2.0]
>     3. SVG text should allow justification locations, such as the nine
> standard positions (bottom, center, top with left, middle, right).
> Note that this requirement will involve coordination with the CSS and
> XSL groups, and investigation by the Internationalization group. [SVG
> 1.2] [SVG 2.0]
>     4. SVG may allow text to be justified flush within a shape. [SVG 2.0]
>     5. The transform attribute should be added to the tspan element [SVG  
> 1.2]
>     6. SVG should provide a method to define how whitespace is
> handled. SVG may provide an attribute that defines how a text element
> should handle whitespace, overriding the use of the xml:space
> attribute. [SVG 2.0]
>
> Is there anything which is more recent that could fill me in on where
> things have gone since then and where they are going? I haven't been
> able to find anything on line.

If you're looking at something to happen short-term then SVG Tiny 1.2 is  
the best bet, it can already do some of the things in the list above. SVG  
1.2 Full might be some time away still.

> I am interested because of a long term project of my mine using a
> variety of different languages and different scripts to present
> fairly long text documents - that is from 1000 to 5000 words - which
> need to use embeded SVG fonts - it is something I would like to be
> able to begin making available within the next year.

Looking at what's happening, it's possible that downloadable fonts will be  
in browsers before SVG 1.2 Full is available, and those downloadable fonts  
should be possible to use both in HTML and SVG. I think webkit is the  
first to offer this functionality, see  
http://webkit.org/blog/124/downloadable-fonts/. For presenting long texts  
I would probably go with HTML anyway.

Cheers
/Erik

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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