http://bugs.winehq.org/show_bug.cgi?id=17324
Jeff L lats@yless4u.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |usp10
--- Comment #78 from Jeff L lats@yless4u.com.au 2010-03-11 07:13:01 --- Patch and test case at http://www.winehq.org/pipermail/wine-patches/2010-March/085655.html
This patch fixes bug 17324 http://bugs.winehq.org/show_bug.cgi?id=17324 The problem is that ScriptShape convert characters to glyphs and there is no translation for '\r'. ScriptTextOut is called and X11DRV_XRender_ExtTextOut is called eventually. The glyph is used as an index into an array but as the glyph value is 0xffff it causes an exception.
This patch converts the NONEXISTING_GLYPHS to 0 (this is the same behaviour as Windows).