Commit 06fac9d542f655f33479c0dda9c4b0acf10c7a31

henry 2001-08-26T22:30:08

Removed the numGlyphs hack

diff --git a/src/FTGLBitmapFont.cpp b/src/FTGLBitmapFont.cpp
index f47d3a7..82116fe 100755
--- a/src/FTGLBitmapFont.cpp
+++ b/src/FTGLBitmapFont.cpp
@@ -18,7 +18,6 @@ FTGLBitmapFont::~FTGLBitmapFont()
 bool FTGLBitmapFont::MakeGlyphList()
 {
 //	if( preCache)
-//	numGlyphs = 256; // FIXME hack	
 	for( unsigned int c = 0; c < numGlyphs; ++c)
 	{
 		FT_Glyph ftGlyph = face.Glyph( c, FT_LOAD_DEFAULT);
diff --git a/src/FTGLOutlineFont.cpp b/src/FTGLOutlineFont.cpp
index 7e3f782..bc05bf2 100755
--- a/src/FTGLOutlineFont.cpp
+++ b/src/FTGLOutlineFont.cpp
@@ -17,8 +17,6 @@ FTGLOutlineFont::~FTGLOutlineFont()
 
 bool FTGLOutlineFont::MakeGlyphList()
 {
-	numGlyphs = 127; // FIXME hack
-	
 	for( unsigned int n = 0; n < numGlyphs; ++n)
 	{
 		FT_Glyph ftGlyph = face.Glyph( n, FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP);
diff --git a/src/FTGLPixmapFont.cpp b/src/FTGLPixmapFont.cpp
index f6eb46b..2880c0c 100755
--- a/src/FTGLPixmapFont.cpp
+++ b/src/FTGLPixmapFont.cpp
@@ -18,7 +18,6 @@ FTGLPixmapFont::~FTGLPixmapFont()
 bool FTGLPixmapFont::MakeGlyphList()
 {
 //	if( preCache)
-//	numGlyphs = 256; // FIXME hack
 	for( unsigned int c = 0; c < numGlyphs; ++c)
 	{
 		FT_Glyph ftGlyph = face.Glyph( c, FT_LOAD_DEFAULT);
diff --git a/src/FTGLPolygonFont.cpp b/src/FTGLPolygonFont.cpp
index 1548049..de574f2 100755
--- a/src/FTGLPolygonFont.cpp
+++ b/src/FTGLPolygonFont.cpp
@@ -16,8 +16,6 @@ FTGLPolygonFont::~FTGLPolygonFont()
 
 bool FTGLPolygonFont::MakeGlyphList()
 {
-	numGlyphs = 127; // FIXME hack
-	
 	for( unsigned int n = 0; n < numGlyphs; ++n)
 	{
 		FT_Glyph ftGlyph = face.Glyph( n, FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP);