W3C home > Mailing lists > Public > www-svg@w3.org > March 2007

does the systemLanguage attribute apply to tspan? alternatively does the switch element take x & y coordinates?

From: ~:'' ありがとうございました。 <j.chetwynd@btinternet.com>
Date: Tue, 13 Mar 2007 14:50:20 +0000
Message-Id: <23CEA425-7AD0-4777-8AC0-1761ADCE96A4@btinternet.com>
Cc: Doug Schepers <doug@schepers.cc>
To: SVG List <www-svg@w3.org>

does the systemLanguage attribute apply to tspan?
http://www.w3.org/TR/SVG/struct.html#SystemLanguageAttribute

this code sample*** fails to work with current implementations.

It seems desirable that tspan should be supported but the  
specification isn't explicit, and current implementations don't.

--

alternatively does the switch element take x & y coordinates?  ie  
<switch x="130" y="65">

http://www.w3.org/TR/SVG/struct.html#SwitchElement

According to current SVG1.1 implementations each example of text must  
be placed independently as in this simple example**.
this requires much duplication.

my apologies once again, if I have failed to understand the intended  
method of laying out text when using systemLanguage and switch.

cheers

Jonathan Chetwynd

***
<text x="130" y="65">
        <switch >
                     <tspan systemLanguage="it" >giochi</tspan>
                     <tspan systemLanguage="fr" >jeux</tspan>
                     <tspan systemLanguage="es" >juegos</tspan>
                     <tspan systemLanguage="de" >spiele</tspan>
                     <tspan >games</tspan>
        </switch>
</text>

**
<switch>
                     <text systemLanguage="it" x="130" y="65">giochi</ 
text>
                     <text systemLanguage="fr" x="130" y="65">jeux</ 
text>
                     <text systemLanguage="es" x="130" y="65">juegos</ 
text>
                     <text systemLanguage="de" x="130" y="65">spiele</ 
text>
                     <text x="130" y="65">games</text>
</switch>
Received on Tuesday, 13 March 2007 14:50:44 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:36 GMT