Text rendering was upside down in windows (thanks to pyglets decision
*not* to honor pitch for glyph data), using this rather interesting
hack
http://hg.codeflow.org/halogen/rev/8413a6d4b86a

     if glyph.tex_coords[1] > glyph.tex_coords[7]:
         return pyglet.image.ImageData(data.width, data.height,
'RGBA', result, data.width*4)
     else:
         return pyglet.image.ImageData(data.width, data.height,
'RGBA', result, -data.width*4)

that should now work, testing surely welcome.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to