[Sugar-devel] Handling of SVG in Sugar/Sugarizer
lionel.laske at gmail.com
Thu Aug 20 16:55:13 EDT 2020
>From the beginning, the handling of SVG files in Sugar rely on Entity
fields in the header of files. Something like:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
<!ENTITY stroke_color "#000000">
<!ENTITY fill_color "#999999">
This mechanism is described on . Sugarizer rely on the same mechanism to
Because this "hack" has some drawbacks - specifically on performance - I
think to change it in a future version of Sugarizer to use native SVG/CSS
features instead. I've done a detailed study here  to explain how it
Of course it will generate compatibility issues but it would be nice to see
if the same thing could be done in Python too. I'm not a Python/Gtk
specialist but will be happy to help on it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel