[Bug 3671] Ui-view32 has problems in IFont

Wine Bugs wine-bugs at winehq.org
Thu Oct 27 05:39:22 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3671


marcus at jet.franken.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
            Summary|Ui-view32 crashes when      |Ui-view32 has problems in
                   |attempting to run           |IFont




------- Additional Comments From marcus at jet.franken.de  2005-27-10 05:39 -------
the problem is in olefont handling. 
 
trace:ole:OLEFontImpl_get_Name (0x57e2a798)->(0x55c0fa2c) 
 
the function returns "MS Sans Serif". It then does: 
 
0009:Call kernel32.WideCharToMultiByte(00000000,00000000,57e00e74 L"MS Sans S 
erif",0000000e,57e00e9c,0000001b,00000000,00000000) ret=66064047 
0009:Ret  kernel32.WideCharToMultiByte() retval=0000000e ret=66064047 
0009:Call kernel32.lstrlenA(57e00e9c "MS Sans Serif") ret=660536a0 
0009:Ret  kernel32.lstrlenA() retval=0000000d ret=660536a0 
0009:Call gdi32.EnumFontsA(00000244,57e00e9c "MS Sans Serif",66053819,55c0f9c 
4) ret=66053849 
0009:Call kernel32.MultiByteToWideChar(00000000,00000000,55c0f8b4 "MS Sans Se 
rif",ffffffff,55c0f838,00000020) ret=55d7a5af 
0009:Ret  kernel32.MultiByteToWideChar() retval=0000000e ret=55d7a5af 
0009:Call kernel32.97(55db8a00) ret=55d8bace 
0009:Ret  kernel32.97() retval=55ac4f40 ret=55d8bace 
0009:Call kernel32.97(55db8a00) ret=55d8bace 
0009:Ret  kernel32.97() retval=55ac4f40 ret=55d8bace 
0009:Call winex11.drv.GetDeviceCaps(559be1d8,00000022) ret=55d69b99 
0009:Ret  winex11.drv.GetDeviceCaps() retval=000079d7 ret=55d69b99 
0009:Call kernel32.98(55db8a00) ret=55d8ba94 
0009:Ret  kernel32.98() retval=00000000 ret=55d8ba94 
0009:Call winex11.drv.EnumDeviceFonts(559be1d8,55c0f81c,55d7a220,55c0f7e4) re 
t=55d79284 
0009:Ret  winex11.drv.EnumDeviceFonts() retval=00000000 ret=55d79284 
0009:Call kernel32.98(55db8a00) ret=55d8ba94 
0009:Ret  kernel32.98() retval=00000000 ret=55d8ba94 
0009:Ret  gdi32.EnumFontsA() retval=00000001 ret=66053849 
0009:Call oleaut32.SysFreeString(57e00e9c L"\534d\5320\6e61\2073\6553\6972f") 
 ret=6606694b 
0009:Call ntdll.RtlFreeHeap(558b0000,00000000,57e00e98) ret=55f31269 
0009:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=55f31269 
0009:Ret  oleaut32.SysFreeString() retval=00000001 ret=6606694b 
0009:Call ole32.CreateErrorInfo(55c0faa0) ret=66064484 
   ... so between the get_Name and here is the error. 
 
Apparently it did not call the enumerator once (aka, there are no matching 
fonts). 

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list