[Bug 47726] too many fonts cause memory corruption in Post Mortem and Still Life, need some limiting

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 3 13:38:35 CDT 2019


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

--- Comment #5 from Zachary J <zakarjor at yahoo.com> ---
Ok, here my finding so far.

It looks like the game is sending parameter lpFamily=NULL in
EnumFontFamiliesA(), and freetype_EnumFonts() sets lf.lfCharSet =
DEFAULT_CHARSET (1).

If I replace DEFAULT_CHARSET (1) with ANSI_CHARSET (0) in the debugger, the
game runs.

(In reply to Nikolay Sivov from comment #4)
> You can make any modification you want, but is there a bug really?

How do I make wine think that DEFAULT_CHARSET is ANSI_CHARSET instead of some
other multilingual character set, short of patching wine?

I guess it would be a request for feature if this is not possible.

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