Hi Michael,

[EMAIL PROTECTED] wrote on 12/22/2005 09:26:06 AM:

> I notice that the text selection behavior of SVG text is different then 
> a typical html viewer or text editor. It seems that more then one text 
> element can not be selected.

   It would be a better model to consider the text elements in
an SVG document more like text in individual HTML documents/frames 
than the 'normal' body text of a simple HTML.  It is quite common
for the text elements to be presented 'out of order' since it is
a graphics format.  This could lead to _very_ unintuitive selection
behavior.

   I will say that all text within one text element is selectable
even if the text uses tspans/textPath etc.  So if you are looking
for ways around the problem with flowText you could use one large
text element with a tspan for each line.

> Is this behavior part of the implementation of SVG?

   IIR correctly the Adobe Viewer behaves this way as well.
I am unsure if the Mozilla/Fire Fox viewer allows it.

> Is there a way to select multiple text elements?

   Unlike the text-decoration I don't think this would be
a large amount of effort to implement but there would be some
potential performance issues (figuring out where the text
elements are relative to one another) as well as some UI issues
like do you select all text element's in between?  Once again in
some cases this would be the expected behavior in other it would
cause some serious strangeness.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to