Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
line_height
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
infinite8s  
View profile  
 More options Jul 13 2008, 11:12 pm
From: infinite8s <naveen.michaudagra...@gmail.com>
Date: Sun, 13 Jul 2008 20:12:34 -0700 (PDT)
Local: Sun, Jul 13 2008 11:12 pm
Subject: line_height

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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Holkner  
View profile  
 More options Jul 20 2008, 3:12 pm
From: "Alex Holkner" <alex.holk...@gmail.com>
Date: Mon, 21 Jul 2008 05:12:12 +1000
Local: Sun, Jul 20 2008 3:12 pm
Subject: Re: line_height
On 7/14/08, infinite8s <naveen.michaudagra...@gmail.com> 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »