[Webkit-unassigned] [Bug 213008] [Win] Stop using MLang font linking for system font fallback
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 10 01:06:30 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213008
--- Comment #2 from Fujii Hironori <Hironori.Fujii at sony.com> ---
I realised an unexpected behavior change in the WIP patch.
Windows has two types of code pages, ANSI code page and OEM code page.
https://en.wikipedia.org/wiki/Windows_code_page
The current implementation chooses a CJK font depending on ANSI code page by getting LOCALE_IDEFAULTANSICODEPAGE.
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/win/FontCacheWin.cpp?rev=261013#L170
On the other hand, the WIP patch depends on OEM code page.
This font fallback behavior is same with normal Windows apps, for example notepad.exe.
ANSI code page can be changed by
Control Panel → Region → Format
OEM code page can be changed by
Control Panel → Region → Admistative → Change System Locale...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200610/08c57e99/attachment-0001.htm>
More information about the webkit-unassigned
mailing list