http://bugs.winehq.org/show_bug.cgi?id=5877
------- Additional Comments From dmitry@codeweavers.com 2007-02-08 06:04 ------- There are 2 problems with this:
1. Wine reports Type1 fonts in OpenType format as TRUETYPE_FONTTYPE (4), while Windows reports DEVICE_FONTTYPE (2) in that case. Probably cooltype renderer is confused by that.
2. I'm not sure whether GetFontData(table == 0) works correctly, i.e. returns data starting from the beginning of a font file as per MSDN. Currently we rely on FreeType in that case.
Once I simply return GDI_ERROR in GetFontData(table == 0) the crash is gone, but still Photoshop doesn't draw the text (since we don't return font data to it).