Alexandre Julliard pushed to branch master at wine / wine
Commits: 209538f2 by Danyil Blyschak at 2024-09-09T21:42:27+02:00 mlang: Use EnumFontFamiliesEx() in map_font().
Previously, map_font() could return a font that does not directly support the requested codepage but has a child font that does. By enumerating fonts for the specific charset, as well as checking each candidate font's signature, the returned font now directly supports the codepage.
- - - - -
2 changed files:
- dlls/mlang/mlang.c - dlls/mlang/tests/mlang.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/209538f24e7c43ca0ce9f508722a4b2...