7 void GlftRenderGlyph(FT_Face face, unsigned int dlist)
9 FT_GlyphSlot slot = face->glyph;
12 void GlftRenderString(struct GlftFont *font, const char *str, int bytes,
18 if (!g_utf8_validate(str, bytes, NULL)) {
19 GlftDebug("Invalid UTF-8 in string\n");
27 g = GlftFontGlyph(font, c);
30 glTranslatef(g->width, 0.0, 0.0);
32 glTranslatef(font->max_advance_width, 0.0, 0.0);
33 c = g_utf8_next_char(c);
34 if (c - str >= bytes) break;