use load_glyph() defined in parent class

This commit is contained in:
David Rose 2003-09-10 16:31:33 +00:00
parent 1b97d7e178
commit 65f24e45ef
1 changed files with 1 additions and 4 deletions

View File

@ -308,10 +308,7 @@ update_filters() {
////////////////////////////////////////////////////////////////////
DynamicTextGlyph *DynamicTextFont::
make_glyph(int glyph_index) {
int error = FT_Load_Glyph(_face, glyph_index, FT_LOAD_RENDER);
if (error) {
text_cat.error()
<< "Unable to render glyph " << glyph_index << "\n";
if (!load_glyph(glyph_index)) {
return (DynamicTextGlyph *)NULL;
}