[Bug 18777] New: Wine 1.1.22+ resets customized FontLink when switching locales

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 4 09:36:24 CDT 2009


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

           Summary: Wine 1.1.22+ resets customized FontLink when switching
                    locales
           Product: Wine
           Version: 1.1.22
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: gdi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: matthewsage at live.com
                CC: Paul.Hampson at Pobox.com


Created an attachment (id=21546)
 --> (http://bugs.winehq.org/attachment.cgi?id=21546)
Regression test that shows the patch that broke the desired functionality

Whenever you switch locales (using the latest Wine dev. version -1.1.22-),
whatever custom Font Linking you have made in the FontLink/SystemLink register
key will be wiped out.

This was tested on Wine 1.1.22, after wiping out ~/.wine
I tested it with the Ubuntu x86_64 binary package from the budgetdedicated
servers, AND after building from source.

Steps to reproduce:

1) Run "regedit"

2) Set some System Font Linking replacements in the
HKLM/Software/Microsoft/Windows NT/CurrentVersion/FontLink/SystemLink register
key (in my case: Tahoma -> VL Gothic, Microsoft Sans Serif -> VLGothic, MS Sans
Serif -> VL Gothic)

3) Run any Win32 application with LANG set to a different locale (in my case,
LANG=ja_JP.UTF-8)

Expected results:

The application is executed, whatever Font Linking you made is visible (which
means that the custom Font Linking I made is respected by Wine).

Actual Results:

The application is executed, whatever Font Linking you made is not visible. If
you run "regedit" again, you'll see that the FontLink/SystemLink key is now
empty.

Workaround:

Always run Wine apps with the same locale (LANG=ja_JP.UTF-8 in my case) - That
would include regedit itself, so that the Font Linking you set up is not wiped
as soon as you run another app with a different locale.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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