https://bugs.winehq.org/show_bug.cgi?id=55299
Bug ID: 55299 Summary: gdi32:font - test_stock_fonts() gets unexpected heights in Arabic en Hebrew locales in Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
gdi32:font - test_stock_fonts() gets unexpected heights in Arabic en Hebrew locales in Wine.
In the ar_MA locale: font.c:6484: Test failed: 0(0): expected height 12, got 13 font.c:6484: Test failed: 4(14): expected height 13, got 14
In the he_IL locale: font.c:6484: Test failed: 0(1): expected height 12, got 13 font.c:6484: Test failed: 4(14): expected height 13, got 14
See https://test.winehq.org/data/patterns.html#gdi32:font
This happens on both the TestBot's Debian11 and Testing VMs.
https://bugs.winehq.org/show_bug.cgi?id=55299
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55299
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|gdi32:font - |gdi32:font - |test_stock_fonts() gets |test_stock_fonts() gets |unexpected heights in |unexpected heights in Wine |Arabic en Hebrew locales in |for the Arabic, Hebrew, |Wine |Japanese and Chinese | |locales
--- Comment #1 from François Gouget fgouget@codeweavers.com --- In the ja_JP locale: font.c:6484: Test failed: 4(0): expected height 13, got 15 font.c:6487: Test failed: 4(0): expected lfHeight -11, got -12
In the zh_CN locale: font.c:6484: Test failed: 4(8): expected height 13, got 17 font.c:6487: Test failed: 4(8): expected lfHeight -11, got -12
https://bugs.winehq.org/show_bug.cgi?id=55299
--- Comment #2 from François Gouget fgouget@codeweavers.com --- This also happens in the Greek locale, at least on Windows 7 (w7u_el), though in that case we get less than expected:
font.c:6484: Test failed: 0(2): expected height 13, got 12
https://bugs.winehq.org/show_bug.cgi?id=55299
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Windows Summary|gdi32:font - |gdi32:font - |test_stock_fonts() gets |test_stock_fonts() gets |unexpected heights in Wine |unexpected heights in the |for the Arabic, Hebrew, |Arabic, Hebrew, Japanese |Japanese and Chinese |and Chinese locales |locales |
--- Comment #3 from François Gouget fgouget@codeweavers.com --- This failure also happens on Windows 10 with the Japanese locale (ja_JP): font.c:6484: Test failed: 4(2): expected height 15, got 12
Adjusted the summary and hardware since it also happens on Windows.
https://bugs.winehq.org/show_bug.cgi?id=55299
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|gdi32:font - |gdi32:font - |test_stock_fonts() gets |test_stock_fonts() gets |unexpected heights in the |unexpected heights in the |Arabic, Hebrew, Japanese |Arabic, Hebrew, Japanese, |and Chinese locales |Korean and Chinese locales
--- Comment #4 from François Gouget fgouget@codeweavers.com --- And in Korean too: font.c:6484: Test failed: 4(6): expected height 15, got 12
https://bugs.winehq.org/show_bug.cgi?id=55299
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|gdi32:font - |gdi32:font - |test_stock_fonts() gets |test_stock_fonts() gets |unexpected heights in the |unexpected heights in the |Arabic, Hebrew, Japanese, |Arabic, Hebrew, Japanese, |Korean and Chinese locales |Korean, Russian and Chinese | |locales