On Tue, 18 Dec 2007 14:22:18 +0100, maurizio.migliore  
<[EMAIL PROTECTED]> wrote:

> I'm writing a client/server application in SVG.
>
> I noticed that the svg native player of firefox (2.x for windows) has
> a low resolution than firefox (2.x for linux) and IE.
>
> The difference is similar to low and high resolution of adobe svg
> plug-in (ver. 3.x).
>
> Anu suggests?

After having looked at the source, two things:
- ASV3 doesn't seem to support preserveAspectRatio="xMinYMin meet" and  
instead seems to use preserveAspectRatio="none".
- The text looked different indeed, but that's ok according to the svg  
spec. If you want it to look more similar you can add  
text-rendering="optimizeLegibility" to get ASV to render the text so that  
it's less fuzzy. The spec however doesn't guarantee that you'll get the  
same exact appearance, even if in practice that's usually what you get.  
Also you should probably specify a font-family if you want some particular  
font, otherwise it increases the likelyhood that it will look different in  
different viewers.

Opera rendered the example just fine, as did Firefox and Batik.
About resolution differences, it may be that a different interpolation  
algorithm is used when drawing the image. You can try the various values  
for the 'image-rendering' property, such as 'optimizeSpeed' or  
'optimizeQuality' and see if that gets you the appearance you want.

Hope this helps
/Erik

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
http://my.opera.com/macdev_ed


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