You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyglet-users
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?
Alex Holkner
unread,
Jul 20, 2008, 3:12:12 PM7/20/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyglet...@googlegroups.com
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.