[Bug 32342] Multiple applications based on 'Webkit' web browser engine crash on startup (Webkit needs Arial and Times New Roman fonts)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 23 06:45:18 CST 2014


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

Patrick Rudolph <patrick1804 at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |patrick1804 at web.de

--- Comment #18 from Patrick Rudolph <patrick1804 at web.de> ---
Created attachment 50072
  --> https://bugs.winehq.org/attachment.cgi?id=50072
fix a crash in planetside2 launcher.exe

use lfFaceName instead of FamilyName.

This patch helps Planetside Launcher to get past the first crash.
The problem is that GetTextFace returns the wrong name.
The Launcher.exe uses CreateFontIndirectW to create an Arial font object and
then checks the font name using GetTextFace.
Without this patch GetTextFace returns "Liberation Sans" instead of "Arial".
The laucher then iterates over some other fonts and crashes.
With this patch the launcher starts, but crashes after a few seconds.
I guess it runs into another font related problem.
Again installing corefonts fixes the second crash.

-- 
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