Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM
authorJohn F. Fay <johnffay@nettally.com>
Sun, 31 May 2009 13:00:44 +0000 (13:00 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sun, 31 May 2009 13:00:44 +0000 (13:00 +0000)
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

index b163f6e..e956d5b 100644 (file)
@@ -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 );
 }