[Bug 16325] incorrect font rendering for CJK programs

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 2 11:36:42 CST 2012


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

--- Comment #133 from Aric Stewart <aric at codeweavers.com> 2012-02-02 11:36:42 CST ---
(In reply to comment #130)
> Created attachment 38663 [details]
> diff: wine.inf in ubuntu / upstream
> 
> Thanks Aric!
> 
> With your help, I found there is something different between the Ubuntu Wine
> package and the upstream Wine:
> 
> Both "%CurrentVersionNT%\FontLink\SystemLink" and
> "Software\Wine\Fonts\Replacements" are set in Ubuntu, but they are empty in
> upstream.
> 
> Then I have two questions here:
>  - Could these Ubuntu settings be included in upstream? Sorry if I miss any
> original discussion, it might be discussed before?
>  - As I know, even the Ubuntu default settings are not good enough for Chinese
> users, so what is the right way to add new default settings to Ubuntu wine
> package? In other words, I could provide a list of registry key/value which
> will improve Chinese font (at least for some programs), but how could I make
> sure they will not break other Languages (or even other programs)?
> 
> Thanks a lot!

The issue is that the way we handle the SystemLink registry entry has changed
recently.
in 1.2 it was correct to set it directly, and that is with I advised Scott to
do for Ubuntu.

However with 1.4 we are now dynamically generating the SystemLink based on the
locale that wine is running in.  So it is more proper to set the Font
Replacements for the base windows font.

Wine 1.4 will respect that if the setting are present they do not (generally)
delete them. However I have seen them occasionally remove the SystemLink and
try to regenerate it if you change locales.

So what we want to do is instead of setting the SystemLink is instead set 
"SimSun" "PMingLiU" in the HKCU\Software\Wine\Fonts\Replacements to the
appropriate truetype face name. 

Then when the SystemLinks get generated or regenerated they will point to the
proper fonts.

-- 
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