[Bug 45288] Chessbase 11 registration captcha is incorrectly displayed

WineHQ Bugzilla wine-bugs at winehq.org
Fri Nov 13 12:28:50 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=45288

David <dav75uk at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from David <dav75uk at yahoo.co.uk> ---
This appears to be a font problem. Multiple fonts are used to display the
captcha. Arial (displays fine), Times New Roman (displays fine), Courier
(doesn't display at all), MS Sans Serif (displays tiny half off the top of the
captcha box or not at all). On the attachement you can see 2 of the letters
displayed incorrectly, they are tiny and half out of the box.

2 workarounds here, first is as mentioned keep retrying until all 4 letters are
visible. The other is to run a trace with wine. Look for
gdi32.GetTextExtentPoint32A with 4 letters in the args and this will be the
letters of the captcha.

Would prefer to get the fonts displaying correctly in the first place though.

Example trace segment of a letter that is displaying tiny and half out of the
top of the box:

0040:Call
gdi32.CreateFontA(ffffffb4,00000000,0000006b,00000000,00000190,00000000,00000000,00000000,00000001,00000000,00000000,00000000,00000002,100e8548
"MS Sans Serif") ret=1002b1dd
0040:Ret  gdi32.CreateFontA() retval=0096008a ret=1002b1dd
0040:Call gdi32.SelectObject(000a00ff,0096008a) ret=1002b209
0040:Ret  gdi32.SelectObject() retval=003a008e ret=1002b209
0040:Call gdi32.SelectObject(000a00ff,003a008e) ret=10024306
0040:Ret  gdi32.SelectObject() retval=0096008a ret=10024306
0040:Call gdi32.SetTextColor(000a00ff,00000000) ret=10024336
0040:Ret  gdi32.SetTextColor() retval=00000000 ret=10024336
0040:Call gdi32.GetTextExtentPoint32A(000a00ff,00923a3d "I",00000001,0032ead8)
ret=1002a685
0040:Ret  gdi32.GetTextExtentPoint32A() retval=00000001 ret=1002a685
0040:Call gdi32.SelectObject(000a00ff,0096008a) ret=1002a693
0040:Ret  gdi32.SelectObject() retval=003a008e ret=1002a693
0040:Call gdi32.SetTextColor(000a00ff,00000000) ret=1002a6a1
0040:Ret  gdi32.SetTextColor() retval=00000000 ret=1002a6a1
0040:Call msvcr90._CIcos() ret=1002af86
0040:Ret  msvcr90._CIcos() retval=00000000 ret=1002af86
0040:Call msvcr90._CIsin() ret=1002af9b
0040:Ret  msvcr90._CIsin() retval=00000000 ret=1002af9b
0040:Call gdi32.SetTextAlign(000a00ff,00000018) ret=1002afd7
0040:Ret  gdi32.SetTextAlign() retval=00000000 ret=1002afd7
0040:Call gdi32.SetBkMode(000a00ff,00000001) ret=1002afe3
0040:Ret  gdi32.SetBkMode() retval=00000001 ret=1002afe3
0040:Call
gdi32.ExtTextOutA(000a00ff,00000052,00000035,00000000,0032eb50,00923a15
"I",00000001,00000000) ret=1002b02c
0040:Ret  gdi32.ExtTextOutA() retval=00000001 ret=1002b02c
0040:Call gdi32.SelectObject(000a00ff,003a008e) ret=1002b2ae
0040:Ret  gdi32.SelectObject() retval=0096008a ret=1002b2ae
0040:Call gdi32.DeleteObject(0096008a) ret=1002b2b5

--- Comment #3 from David <dav75uk at yahoo.co.uk> ---
This appears to be working every time now. Something has fixed / workedaround
the inability to display some of the fonts.

I guess this can be closed.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list