http://bugs.winehq.org/show_bug.cgi?id=11304
Gabriele Moabiti gabmoa@yahoo.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabmoa@yahoo.it
--- Comment #4 from Gabriele Moabiti gabmoa@yahoo.it 2008-08-27 08:15:02 ---
I have developed a terminal app for a cnc and I am trying to port to linux with wine. I have noticed a problem maybe related to this one. It appears in hangs or errors so I have created a very simple application to reproduce only this problem (see attachment). There are two input parameters, the lenght of the string and the ascii number of character.
[example, error with char 32 and lenght 21843 - Wine 1.1.2] X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 156 (RENDER) Minor opcode of failed request: 24 (RenderCompositeGlyphs16) Serial number of failed request: 934 Current serial number in output stream: 935
I noticed the ExtTextOutW use a WORD for glyps.
BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags, const RECT *lprect, LPCWSTR str, UINT count, const INT *lpDx ) { BOOL ret = FALSE; LPWSTR reordered_str = (LPWSTR)str; WORD *glyphs = NULL; ...
may be related to this error?
Any ideas?? Textout is widely used...