[Bug 16325] incorrect font rendering for CJK programs
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Dec 10 16:06:02 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=16325
ByeongSik Jeon <bsjeon at hanmail.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bsjeon at hanmail.net
--- Comment #32 from ByeongSik Jeon <bsjeon at hanmail.net> 2008-12-10 16:06:02 ---
(In reply to comment #19)
> (In reply to comment #15)
> > 2) A LOT of Chinese program uses ANSI_CHARSET, and they intend to display
> > Chinese
> > Text, but not weird string of unreadable symbols. This is "de facto status"
> > which Wine
> > need to support, because Windows do.
>
> Wine does support that as well, giving that the user has correctly set up
> locale and font links.
>
Result of long analysis,
this bug is not font-links problem. Although font-links setting is correct,
this bug appear.
See the gdi32/font.c, FONT_mbtowc() function. When lfCharset == ANSI_CHARSET,
the first argument "cp" of the MultibyteToWideChar() function is 1252.
It's "BAD" in the CJK locale.
We can't get the right unicode string in this situation.
--
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