At 14:31 +0000 28/9/11, Donna wrote:

>I have the following SVG image - 
>http://dl.dropbox.com/u/11087865/Cleveland.svg
>
>This looks fine in Chromium, but it does not look so fine in Chrome. 
>It is important that this image looks good in both these browers (I 
>don't need to care about any other's due to the nature of its use).
>
>I've been playing around with different things inside the SVG file 
>itself, but it seems that any changes I make fixes one browser but 
>breaks the other.

How are you going to be able to solve the problem when it is Adobe 
Illustrator that is writing the SVG code?  The mess that this has 
created using 15,000 bytes could easily be solved by writing the SVG 
properly using less than a tenth of the space.  There a very few 
elements on the drawing and each of these can be written as a path in 
two lines at the very most.  Besides that you could get rid of all 
the ugly discontinuities in the drawing.  The essence of you drawing 
is simply lines and curves and arcs and these should be smooth and 
continuous at whatever size you view it, but the way it is done it is 
hardly any better than a bit-map image.

I have nothing to do with these graphics programmes and when I look 
at the frightful output I have no doubt they serve no purpose at all 
and give SVG a bad name.  It's no better than the bloated html 
generated by Microsoft programs.

For example the large orange figure in your drawing requires no more 
code than (very roughly) this, which is 143 bytes including the line 
feeds:

<path d="M 0 0 v38.6
a 32 32 0 0 0 32.5 -23
a 35 9 0 0 1 -8.5 -4.5
l -5.2 -8.6
a 2 2 0 0 1 -1 -1.8
l -.3 -.7
z"
fill="#FF9955"
stroke="none" />

and suppose you have ten figures composing the drawing, some of which 
can be drawn even more simply, then you have only a kilobyte of SVG 
code for the drawing itself.

JD


------------------------------------

-----
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:
    [email protected] 
    [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