Hash :
afb26f6e
Author :
Date :
2001-08-21T03:33:13
#include "FTGLPolygonFont.h"
#include "FTGlyphContainer.h"
#include "FTGL.h"
#include "FTPolyGlyph.h"
FTGLPolygonFont::FTGLPolygonFont()
: tempGlyph(0)
{}
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);
tempGlyph = new FTPolyGlyph( ftGlyph, n);
glyphList->Add( tempGlyph);
}
return !err;
}