- From: ~:'' ありがとうございました。 <j.chetwynd@btinternet.com>
- Date: Tue, 13 Mar 2007 14:50:20 +0000
- To: SVG List <www-svg@w3.org>
- Cc: Doug Schepers <doug@schepers.cc>
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 UTC