Re: [2/3] wineps.drv: Allow text copy paste from print to pdf
9 Sep
2014
9 Sep
'14
4:52 a.m.
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 + sprintf(name, "g%04x", index); return; }
The right way to do this is to look up the glyph's name in the font's 'post' table. Huw.
4114
Age (days ago)
4114
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies