http://bugs.winehq.org/show_bug.cgi?id=30507
--- Comment #2 from Anastasius Focht focht@gmx.net 2012-05-11 17:06:24 CDT --- Created attachment 40123 --> http://bugs.winehq.org/attachment.cgi?id=40123 WINEDEBUG=+tid,+seh,+relay,+font,+gdiplus runs with builtin and native gdiplus
Hello,
with Dmitry's recent work (see bug 30559) the error dialog is still there but the message changed:
-- snip --- ... 002a:Call gdi32.CreateFontIndirectA(00d00ad8) ret=0033ae93 002a:trace:font:CreateFontIndirectExW (-19 0 0 0 0 0 0 0 0) L"arial" => 0x84b0 002a:Ret gdi32.CreateFontIndirectA() retval=000084b0 ret=0033ae93 ... 002a:Call gdiplus.GdipCreateFontFromLogfontW(000003a8,0740d2a8,0032bdb8) ret=07089a74 002a:trace:gdiplus:GdipCreateFontFromLogfontW (0x3a8, 0x740d2a8, 0x32bdb8) 002a:Call gdi32.CreateFontIndirectW(0740d2a8) ret=7e21b000 002a:trace:font:CreateFontIndirectExW (-19 0 0 0 0 0 0 0 0) L"arial" => 0x84b4 002a:Ret gdi32.CreateFontIndirectW() retval=000084b4 ret=7e21b000 ... 002a:trace:gdiplus:GdipCreateFontFamilyFromName L"arial", (nil) 0x2325108 002a:Call gdi32.CreateCompatibleDC(00000000) ret=7e21c4ed 002a:trace:font:freetype_SelectFont L"System", h=16, it=0, weight=400, PandF=22, charset=0 orient 0 escapement 0 002a:trace:font:freetype_SelectFont DC transform 1.000000 0.000000 0.000000 1.000000 002a:trace:font:freetype_SelectFont returning cached gdiFont(0x139e28) for hFont 0x7c 002a:trace:font:update_font_code_page charset 0 => cp 1252 002a:Ret gdi32.CreateCompatibleDC() retval=000084b8 ret=7e21c4ed 002a:Call gdi32.EnumFontFamiliesW(000084b8,0740d2c4 L"arial",7e21bf8a,0032ba44) ret=7e21c51d 002a:trace:font:FONT_EnumFontFamiliesEx lfFaceName = L"arial" lfCharset = 1 002a:trace:font:freetype_EnumFonts facename = L"arial" charset 1 002a:Ret gdi32.EnumFontFamiliesW() retval=00000001 ret=7e21c51d 002a:Call gdi32.DeleteDC(000084b8) ret=7e21c5a0 002a:trace:font:freetype_SelectFont L"System", h=16, it=0, weight=400, PandF=22, charset=0 orient 0 escapement 0 002a:trace:font:freetype_SelectFont DC transform 1.000000 0.000000 0.000000 1.000000 002a:trace:font:freetype_SelectFont returning cached gdiFont(0x139e28) for hFont 0x7c ... 002a:Ret gdiplus.GdipCreateFontFromLogfontW() retval=00000010 ret=07089a74 ... 002a:Call user32.MessageBoxW(000100b4,03d30e94 L"Es ist ein Fehler beim Laden von 'Lexware.Components.UI.Startpage.StartpageControl40' aufgetreten: \r\nOnly TrueType fonts are supported. This is not a TrueType font.",03cfa768 L"Lexware",00000000) ret=10cc3a8f --- snip ---
FontFamilyNotFound -> return NotTrueTypeFont
With native gdiplus override a +relay trace log shows there isn't a single query for "arial" font family at this place.
Attached is a text file containing trace snippets from two runs: one with builtin gdiplus and one with native gdiplus for comparison.
wine-1.5.4
Regards