[FTGL] FaceSize

  • Follow


Hi!
I'm using FTGL to draw text within my OGL scene, more precisely the 
FTGLTextureFont class.
I don't wan't to scale the text to change to set its size, because 
sometimes it looks not that nice.

I tried to set the font size via FTFont::FaceSize on an existing and 
aready used font object. After that I see only black quads, but the 
GL_TEXTURE_2D calls are definitly working.

Are there any restrictions using the FaseSize method on an already used 
object (already calling Render or Advance)?

Thanks in advance,
Jan.
0
Reply aiscape (8) 10/28/2004 12:03:08 PM

Jan Boehme wrote:
> Hi!
> I'm using FTGL to draw text within my OGL scene, more precisely the 
> FTGLTextureFont class.
> I don't wan't to scale the text to change to set its size, because 
> sometimes it looks not that nice.
> 
> I tried to set the font size via FTFont::FaceSize on an existing and 
> aready used font object. After that I see only black quads, but the 
> GL_TEXTURE_2D calls are definitly working.
> 
> Are there any restrictions using the FaseSize method on an already used 
> object (already calling Render or Advance)?
> 
> Thanks in advance,
> Jan.

Henry Maddocks answered my question directly:

"This is a bug in the current version. It is fixed in 2.1 which should
be available soon. "

Jan.
0
Reply Jan 10/29/2004 7:26:34 AM


1 Replies
252 Views

(page loaded in 0.057 seconds)

Similiar Articles:









7/25/2012 1:48:33 PM


Reply: