usp10: [Resend] Bug 17324 change default glyph returned from 0xffff to 0
Jeff Latimer
lats at yless4u.com.au
Fri Mar 12 04:53:42 CST 2010
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 removes GGI_MARK_NONEXISTING_GLYPHS from GetGlyphIndicesW which
does not convert the NONEXISTING_GLYPHS to 0 (this is the same behaviour
as Windows).
---
dlls/usp10/tests/usp10.c | 73
++++++++++++++++++++++++++++++++++++++++++++++
dlls/usp10/usp10.c | 2 +-
2 files changed, 74 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-usp10-Resend-Bug-17324-change-default-glyph-returned.patch
Type: text/x-patch
Size: 4518 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100312/ddc3d37e/attachment.bin>
More information about the wine-patches
mailing list