[OLPC-Games] Problems with svgsprite

Mike C. Fletcher mcfletch at vrplumber.com
Sun Feb 3 22:31:13 EST 2008


Cory Lueninghoener wrote:
> I've been playing with olpcgames this weekend, but I can't seem to get
> past a problem (or maybe it's a feature?) that's exhibited in the
> svgsprite demo: no matter what I do, I can't get both the fill and the
> stroke of the svg to display correctly.  In the case of the svgsprite
> example the hammer sprite ends up with transparent stroke, and in my
> own bits of code my strokes and fills end up in weird colors and/or
> being weirdly transparent.  Is this a known issue, a "feature", or
> something new?
>   
SVGSprite is being debugged right now.  There's a problem with the code
to convert the Cairo image to a Pygame-compatible surface, somehow the
bytes are getting rotated by 16 bits on 32-bit platforms (such as the
XO), while they are fine on 64-bit platforms.

Take care,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com



More information about the Games mailing list