[Bug 47726] too many fonts cause memory corruption in Post Mortem and Still Life, need some limiting
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Jul 24 07:38:04 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=47726
qsniyg <qsniyg at mail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qsniyg at mail.com
--- Comment #7 from qsniyg <qsniyg at mail.com> ---
Under Windows EnumFontFamilies only enumerates a single font name per charset,
whereas EnumFontFamiliesEx will enumerate all fonts.
Wine currently implements EnumFontFamilies on top of EnumFontFamiliesEx, which
is incorrect as far as I can tell (I can't find any options to make
EnumFontFamiliesEx behave like EnumFontFamilies).
I've sent in a patchset to fix this issue, but I'm not sure if it'll be
accepted. It now exposes a separate issue where EnumFontFamilies doesn't list
aliases (such as "Times New Roman CYR"), which therefore fails the "NULL family
should enumerate RUSSIAN_CHARSET" test.
I forgot to mention this when sending in the patchset, which is why I'm
mentioning it here (this bug is linked there).
Here are the patches:
https://source.winehq.org/patches/data/189695 (test case)
https://source.winehq.org/patches/data/189696 (the patch itself)
--
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