From: John F. Fay Date: Sun, 31 May 2009 13:00:44 +0000 (+0000) Subject: Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=f32d6af3edf1545a844643aafe9f30a704107b71;p=freeglut Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@825 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_font.c b/src/freeglut_font.c index b163f6e..e956d5b 100644 --- a/src/freeglut_font.c +++ b/src/freeglut_font.c @@ -256,6 +256,10 @@ void FGAPIENTRY glutStrokeCharacter( void* fontID, int character ) for( j = 0; j < strip->Number; j++ ) glVertex2f( strip->Vertices[ j ].X, strip->Vertices[ j ].Y ); glEnd( ); + glBegin( GL_POINTS ); + for( j = 0; j < strip->Number; j++ ) + glVertex2f( strip->Vertices[ j ].X, strip->Vertices[ j ].Y ); + glEnd( ); } glTranslatef( schar->Right, 0.0, 0.0 ); }