From a5f5c71bacc04edb8500de5e357c41a219c39114 Mon Sep 17 00:00:00 2001 From: fayjf 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: https://svn.code.sf.net/p/freeglut/code/trunk@825 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_font.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freeglut/freeglut/src/freeglut_font.c b/freeglut/freeglut/src/freeglut_font.c index b163f6e..e956d5b 100644 --- a/freeglut/freeglut/src/freeglut_font.c +++ b/freeglut/freeglut/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 ); }