https://bugs.winehq.org/show_bug.cgi?id=47726
qsniyg qsniyg@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |qsniyg@mail.com
--- Comment #7 from qsniyg qsniyg@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)