http://bugs.winehq.org/show_bug.cgi?id=35574
Bug ID: 35574 Summary: gdi32:fonts test_EnumFontFamiliesEx_default_charset() fails on Windows 7 in the Japanese and Hebrew locales Product: Wine Version: 1.7.12 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Classification: Unclassified
In the Japanese locale the conformance test errors are: font.c:3001: 'MS Shell Dlg' has 10 charsets. font.c:3003: Test failed: (MS Shell Dlg) got charset 0 expected 128
And in the Hebrew one they are: font.c:3001: 'MS Shell Dlg' has 10 charsets. font.c:3003: Test failed: (MS Shell Dlg) got charset 0 expected 177
(the Hebrew locale also has a lot of errors in this test)
There are three VMs running the tests in a Japanese or Hebrew locale: fg-win7u64-1spie9-he, fg-win7u64-1spie9-ja, newtb-w7u: http://test.winehq.org/data/tests/gdi32:font.html
The corresponding tests where introduced by:
commit 6834a44dc4c3c7e8c377a2fd56d11e93edd37b2f Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Jun 17 19:01:39 2013 +0900
gdi32/tests: Add a test for default font height scaling with screen resolution changes.
http://bugs.winehq.org/show_bug.cgi?id=35574
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, source URL| |http://test.winehq.org/data | |/tests/gdi32:font.html Regression SHA1| |6834a44dc4c3c7e8c377a2fd56d | |11e93edd37b2f
http://bugs.winehq.org/show_bug.cgi?id=35574
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|6834a44dc4c3c7e8c377a2fd56d |a9c9970d9ba621dd5b21827b0a8 |11e93edd37b2f |2b98ff0163eb0
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Sorry, I mixed up the commit with another gdi32:fonts bug. This should have been:
commit a9c9970d9ba621dd5b21827b0a82b98ff0163eb0 Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Fri Apr 1 21:19:52 2011 +0900
gdi32/tests: Add a test for a charset enumeration order.
https://bugs.winehq.org/show_bug.cgi?id=35574
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=35574
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #2 from Sagawa sagawa.aki+winebugs@gmail.com --- I posted the patch which fixes Hebrew locale issue. https://source.winehq.org/patches/data/103022
Japanese locale issue was fixed by efe7a9763f22abbd181b1edd1a34e1dda14b1b38.
http://bugs.winehq.org/show_bug.cgi?id=35574
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |35765
https://bugs.winehq.org/show_bug.cgi?id=35574
--- Comment #3 from Sagawa sagawa.aki+winebugs@gmail.com --- Hebrew issue was fixed by today's commit, http://source.winehq.org/git/wine.git/commit/04e8b00ab08a046f52ffbbd841b17b1...
Now, number of failures is 18 in Hebrew locale. It was 19 yesterday.
* today https://test.winehq.org/data/7442abde9257022fcf9f178be8284826d445986a/win7_f...
* yesterday http://test.winehq.org/data/31faed571d5a846925b22c08dc488eb42344c41d/win7_fg...
https://bugs.winehq.org/show_bug.cgi?id=35574
--- Comment #4 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=35574
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from François Gouget fgouget@codeweavers.com --- This is fixed, probably by one of the commits below:
commit 50b6b376cbd521486c7765a11d88d17533f2057d Author: Dmitry Timoshkov dmitry@baikal.ru Date: Fri Jul 17 17:23:19 2015 +0800
gdi32: EnumFontFamilies should enumerate substituted fonts only when directly asked for.
commit 5289c9fd925fea5766632cef7a37e17dda93dc2e Author: Dmitry Timoshkov dmitry@baikal.ru Date: Fri Jul 17 17:23:14 2015 +0800
gdi32: Add a test for enumerating substituted fonts.
EnumFontFamilies(NULL) should not enumerate substituted fonts, but EnumFontFamilies("MS Shell Dlg") should do.
commit c81ff0f8cfc1a7b6fa7546d8ffb656e290ef5e7e Author: Huw Davies huw@codeweavers.com Date: Fri Jun 19 09:24:23 2015 +0100
gdi32/tests: Japanese Win 7 uses MS Shell Dlg as its default GUI font.
https://bugs.winehq.org/show_bug.cgi?id=35574
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.52.