[Bug 16325] incorrect font rendering for CJK programs

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 12 14:25:16 CST 2012


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

--- Comment #159 from Qian Hong <fracting at gmail.com> 2012-02-12 14:25:16 CST ---
(In reply to comment #158)
> If you are using a Font Replacement the SystemLink in HKLM should remain empty,
> or I have done something wrong. 

Sorry for confusing, I didn't mean the SystemLink in HKLM, I meant the
SystemLink in [HKEY_CURRENT_USER\Software\Wine\FontLink\SystemLink]

CCMIW, the value of this SystemLink does not restore in user.reg, but it will
dynamically built and show in regedit GUI?

For me there is something different between the first wineboot and the second
wineboot, here is what I exactly did:

1. manually edit /usr/local/share/wine/wine.inf, add:
HKCU,Software\Wine\Fonts\Replacements,"SimSun",,"WenQuanYi Micro Hei"

2. $ rm -rf ~/.wine

3. $ WINEDEBUG=+font regedit &> first_wineboot_font_trace.log

- After this I can get my font replacements setting correctly both in the
regedit GUI and  ~/.wine/user.reg.

- but I can't get a correct HKCU\Software\Wine\FontLink\SystemLink from regedit
GUI. 

- Also, My HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts
*does not*  contain such line:
"SimSun (TrueType)"="Z:\\usr\\share\\fonts\\truetype\\wqy\\wqy-microhei.ttc"

(Will attach as user.reg.first.txt and system.reg.first.txt )

4. wait for wineserver quit, then 
$ WINEDEBUG=+font regedit &> second_wineboot_font_trace.log

- This time, I can get the correct HKCU\Software\Wine\FontLink\SystemLink from
regedit GUI, but I can't find it in ~/.wine/user.reg

- My HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts *does* contains
such line:
"SimSun (TrueType)"="Z:\\usr\\share\\fonts\\truetype\\wqy\\wqy-microhei.ttc"

(Will attach the reg file manually exported from regedit GUI as
correct-systemlink.reg.txt, also will attach user.reg.second.txt and
system.reg.second.txt)

If I edit HKCU\Software\Wine\Fonts\Replacements from regedit GUI instead of
presetting it in wine.inf, then no wineboot is needed.

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