On 7/14/08, infinite8s <[EMAIL PROTECTED]> wrote: > > > The old pyglet.font.Text had a line_height variable, which was the > height of 1 line of text. I can't seem to find this property in the > new pyglet.font.Text or pyglet.text.Label. Is it accessible anywhere?
Thanks, I've added the line_height (and leading) properties back into pyglet.font.Text in r2130. For new-style Labels, use the "leading" style and "ascent" and "descent" attributes of the font to calculate the line height. 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 -~----------~----~----~----~------~----~------~--~---
