On 1/12/08, Lunpa <[EMAIL PROTECTED]> wrote: > > Colored glyphs: > > I know that there is currently no built in method to add color to a > text character in a font.base.Glyph object, but is there a simple way > to do this otherwise? eg, opengl functions?
Glyphs are drawn in the current OpenGL colour. Use glColor3f (for example) to set the colour, then draw the glyphs. The `font.Text` convenience class has a "color" attribute that does this. Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
