On Mon, Sep 08, 2014 at 09:19:54PM -0700, Daniel Horn wrote:
-void get_glyph_name(HDC hdc, WORD index, char *name) +void get_glyph_name(HDC hdc, BOOL unicode, WORD index, char *name) {
- /* FIXME */
- sprintf(name, "g%04x", index);
- if(unicode)
sprintf(name, "uni%04X", index);
- else
return;sprintf(name, "g%04x", index);
}
The right way to do this is to look up the glyph's name in the font's 'post' table.
Huw.