[Plib-users] Couple of fntRenderer questions
Brought to you by:
sjbaker
From: Jason S. <tam...@ai...> - 2001-09-10 07:15:45
|
[Apologies if this is a re-send - SourceForge's lists don't seem to like the way I normally send mail.] Howdy, I hope I'm not missing something obvious here, but is there a way to do rotated text (vertical in particular) with fntRenderer/fntTexFont in 1.5.1? (I'm using fnt.h, but not PUI) Also, other than the GL_TEXTURE_2D, is there any other effect on the OpenGL state that has to be undone after a begin()/puts()/end() sequence? Is there a cleaner way to restore the state other than an explicit glDisable(GL_TEXTURE_2D) after I do my font rendering? Finally, is there a way to query the inter-line space from either the font or the renderer? getBBox() doesn't quite do what I need. I see in the source there's a hardcoded 1.333*point size increment of the cursor's y position for a '\n' (that's the quantity I'm after) Is there a way to get this without hardcoding the 1.333 in my code? If not, can I put in a request for this value to be exposed through the interface? (allowing modification of it as well would be a bonus) Thanks, -Jason Steele (kudzu) |