From f32d6af3edf1545a844643aafe9f30a704107b71 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Sun, 31 May 2009 13:00:44 +0000 Subject: [PATCH] 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 --- src/freeglut_font.c | 4 ++++ 1 file changed, 4 insertions(+) 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 ); } -- 1.7.10.4