[Bug 36867] Localization bug in gdi32 font.c test

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 8 10:19:38 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=36867

--- Comment #3 from Qian Hong <fracting at gmail.com> ---

> My guess is that you do not have the German locale data installed. Does
> "LANG=de_AT.UTF-8 ls --help" write German text?

Good catch Stefan, I installed the German locale data and can reproduce the bug
now.

Interesting, it works fine with de_DE.UTF-8 and de_BE.UTF-8 but fails with
de_AT.UTF-8, de_CH.UTF-8, de_LI.UTF-8 and de_LU.UTF-8.

I guess it is a false regression introduced by:
commit b05b637c9179b7b01f21f5fd80e46cf405c04419
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jun 20 13:36:34 2013 +0200

    gdi32: Improve font name localization by not requiring a strict language
match.

What we need to do is porting the matching algorithm from
gdi32/freetype.c:match_name_table_language() to gdi32/tests/font.c to make sure
the algorithm match with each other in both test and implementation, as far as
we can make sure the implementation is correct comparing to Windows.

Stefan, do you know if there is any locale equaling to
de_AT.UTF-8/de_CH.UTF-8/de_LI.UTF-8/de_LU.UTF-8 on Windows? Could you run the
Wine font test suite on such a Windows system?

Cheers :)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list