http://bugs.winehq.org/show_bug.cgi?id=35760
Bug ID: 35760 Summary: gdi32:font test_fullname2() fails on Windows 7 in the French locale Product: Wine Version: 1.7.12 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: fonts Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The fg-win7u64-fr VM gets a lot of errors like the following: http://test.winehq.org/data/tests/gdi32:font.html
font.c:4855: Checking font Arial: FamilyName: Arial; FaceName: Arial Bold Italic; StyleName: Bold Italic font.c:4884: no localized FONT_FAMILY found. font.c:4905: Test failed: font face names don't match: returned Arial Bold Italic, expect Arial Gras Italique font.c:4919: Test failed: style names don't match: returned Bold Italic, expect Gras Italique font.c:4928: no localized UNIQUE_ID found.
Despite our expectations the style names are clearly not being localized. Yet that VM is a Windows 7 Ultimate installation where all the locales have been set to French:
SystemDefaultLCID 40c UserDefaultLCID 40c ThreadLocale 40c UserDefaultUILanguage 40c ThreadUILanguage 40c
Interestingly there are other French machines where this does not happen: fg-acer64-w81-t32 A French Windows 8.1 installed on my Acer laptop fg-win2000-uplast A French Windows 2000 installed in a VMware VM
http://bugs.winehq.org/show_bug.cgi?id=35760
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
http://bugs.winehq.org/show_bug.cgi?id=35760
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #1 from Qian Hong fracting@gmail.com --- hmm, blame me... I'll take a look.
http://bugs.winehq.org/show_bug.cgi?id=35760
--- Comment #2 from Qian Hong fracting@gmail.com --- Dear François,
I'm guessing that this bug only happens on ultimate version of Windows 7 with System Language changed from English to another language but without a restart (or maybe happen on Windows XP ultimate as well).
In other world, it may help if we could restart that machine (not restore from virtual machine snapshot, I mean a real restart of the operation system).
Is there any way to check my theory?
Thanks a lot!
http://bugs.winehq.org/show_bug.cgi?id=35760
--- Comment #3 from François Gouget fgouget@codeweavers.com --- You might have hit it on the head. I have rebooted the VM and re-run the tests and the failures seem to be gone:
http://test.winehq.org/data/ecd24b5a874ead368c8f6e9d6981bb0e02472f9d/win7_fg...
So it does look like I forgot to reboot the VM after changing the locale. Given that I'm updating all the other 'locale snapshots' to make sure they get a reboot.
http://bugs.winehq.org/show_bug.cgi?id=35760
--- Comment #4 from Qian Hong fracting@gmail.com --- (In reply to François Gouget from comment #3)
You might have hit it on the head. I have rebooted the VM and re-run the tests and the failures seem to be gone:
http://test.winehq.org/data/ecd24b5a874ead368c8f6e9d6981bb0e02472f9d/win7_fg... win7u64-1spie9-fr_1/gdi32:font.html
So it does look like I forgot to reboot the VM after changing the locale. Given that I'm updating all the other 'locale snapshots' to make sure they get a reboot.
Woohoo, that make me happy :) Thanks a lot for the work!
http://bugs.winehq.org/show_bug.cgi?id=35760
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |35765
https://bugs.winehq.org/show_bug.cgi?id=35760
Hao Peng penghao@linuxdeepin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |penghao@linuxdeepin.com
--- Comment #5 from Hao Peng penghao@linuxdeepin.com --- Hi Francois, is this bug fixed? I think it has been fixed for a few months, could you confirm? Thanks!
https://bugs.winehq.org/show_bug.cgi?id=35760
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from François Gouget fgouget@codeweavers.com --- Yes this is fixed. I no longer get test failures in my fg-win7u64-1spie9-fr VM.
https://bugs.winehq.org/show_bug.cgi?id=35760
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.26.