http://bugs.winehq.org/show_bug.cgi?id=5865
------- Additional Comments From dmitry@codeweavers.com 2007-26-02 10:47 ------- I looked at the results of running this test under XP and Wine. It looks like Windows creates a glyph->character table using cmap TTF table and uses it to create the GLYPHSET ranges. Creating that table is a problem, I had the same problem when I was implementing GetKerningPairs, have a look at the kluge I used there.
Hans, I think that your patch is good enough to send as is, all further enhancements could be done later.