hello erik

here is an example with nested svgs where inner and outer svgs have 100% 
width and hight:
http://www.carto.net/temp/opera/test_text_opera_inner_100pc.svg

and maybe it is not related to nested svg, as i see now, an outer text 
also is too large. it seems to be related to the "px" in the font-size 
definition. Firefox needs this as far as i know. FF3, FF2, Batik1.7 and 
ASV show the text inside the rectangle /indeed it is defined 5px 
font-size) whereas Opera9.25 shows it too big.

any way to have similar font-sizes in FF, Opera and ASV?

thanks
andré

-- 
___________________________________________________________________
andre m. winter,
  cartography for internet and multimedia applications
  schiessstand 4/1, a6091 goetzens, tyrol, austria
  tel.: ++43.5234.32732
  http://www.vectoreal.com/          SVG consulting and development
  http://www.geotrace.net/   geo-localized high quality photographs
  http://www.carto.at/     print and online touristic map solutions



>
> Your example looks just fine in Opera 9.50 (compared with Batik 1.7).
> At this point I think it's mostly security- and other critical bugfixes  
> that go into the 9.2x version.
>
> Cheers
> /Erik
>
> On Tue, 29 Jan 2008 11:36:31 +0100, André M. Winter <[EMAIL PROTECTED]>  
> wrote:
>
>   
>> hi,
>>
>> are there any news here? seems as if Opera (now v9.25) ignores nested
>> SVG for font sizes. the shown size just is the same as if the text
>> sits in the root element.
>>
>> bug or feature?
>>
>> andré
>>
>>
>>
>> --- In [email protected], "simonshutter" <[EMAIL PROTECTED]> 
>> wrote:
>>     
>>> Jonathan,
>>>
>>> But not on Op9.21 (XP), which I just upgraded to.  Any font-size less
>>> than 2.000 is not scaled appropriately.
>>>
>>> If Ockham's razor == K.I.S.S. then point taken but I'd rather not
>>> have to scale all text in the units of my root svg element.
>>>
>>> Simon
>>>
>>>
>>> --- In [email protected], "~:''
>>>       
>> ã&#65533;‚りã&#65533;Œã&#65533;¨ã&#65533;†ã&#65533;"ã&#65533;–
>>     
>>> ã&#65533;„ã&#65533;¾ã&#65533;—ã&#65533;Ÿã€‚" <j.chetwynd@> wrote:
>>>       
>>>> Simon,
>>>>
>>>> seems fine on Opera9.2 os x
>>>>
>>>> nesting <svg> may present more problems than nest <g> perhaps?
>>>> see: Ockham's razor
>>>>
>>>> cheers
>>>>
>>>> Jonathan Chetwynd
>>>>
>>>>
>>>>
>>>> On 20 May 2007, at 19:20, simonshutter wrote:
>>>>
>>>>
>>>> <svg width="500" height="500" viewBox="0 0 500 500"
>>>> xmlns="http://www.w3.org/2000/svg"; >
>>>> <text x="0" y="10" font-size="5" font-family="Arial,Helvetica"
>>>> pointer-events="none" fill="#000000" >
>>>> Hello World 1
>>>> </text>
>>>> <svg x="0" y="30" width="800" height="600" viewBox="0 0 50 40">
>>>> <text x="0" y="1" font-size="1" font-family="Arial,Helvetica"
>>>> pointer-events="none" fill="#000000" >
>>>> Hello World 2
>>>> </text>
>>>> <svg x="10" y="10" width="15" height="10" >
>>>> <text x="0" y="2" font-size="1.5" font-
>>>> family="Arial,Helvetica" pointer-events="none" fill="#000000" >
>>>> Hello World 3
>>>> </text>
>>>> </svg>
>>>> </svg>
>>>> </svg>
>>>>
>>>>         
>>     
>
>
>
>   




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