Activity Team/Compatibility Tips: Difference between revisions

Line 26: Line 26:
Another issue is with SVG paths. Some SVG editors, e.g., inkscape, sometimes omit the l in a path that uses relative line-tos. These paths will not render properly on old OLPC builds.
Another issue is with SVG paths. Some SVG editors, e.g., inkscape, sometimes omit the l in a path that uses relative line-tos. These paths will not render properly on old OLPC builds.


  <path d="m 100,100 10,10> won't work
  <path d="m 100,100 10,10 /> won't work
  <path d="m 100,100 l 10,10> will work
  <path d="m 100,100 l 10,10 /> will work
 
In recent Fedora/Sugar builds (F13/0.88) another SVG problem has been occurring. If you define a path without explicitly defining stroke and fill colors, it will render as black, even if you define stroke and fill colors in your initial <svg> block.
 
<svg ... stroke="&stoke_color;" fill="&fill_color;" ... >
<path ... /> won't work
<path ... stroke="&stoke_color;" fill="&fill_color;" /> will work
</svg>


=== artwork ===
=== artwork ===