[Bugs] #3208 UNSP: SVG images are clipped

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Oct 19 11:33:06 EDT 2011

#3208: SVG images are clipped
    Reporter:  godiard                    |          Owner:  godiard                    
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Wikipedia                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
 In many cases, like in the image in the page "Planet" section "Orbit", a
 svg image is clipped, because there are not a easy way to scale a svg
 image to a fixed size using object. In the same page, in the section
 "Solar system" every planet have a svg with the symbol, and are clipped

 I have tried not set the width in the object, but we can't display the svg
 without setting a width because for example in the "Plant" page there are
 a lot of svg files and render at huge sizes.

 Now, in the pages in the online wikipedia, are using a thumbnail in png
 format. Rendered a small sizes, are lighther than the svg files in more

 We can change our logic to use thumbnails to svg too.




 A posible patch is attached, need more testing.

Ticket URL: <http://bugs.sugarlabs.org/ticket/3208>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system

More information about the Bugs mailing list