[Bug 10063] wineconsole run fail on korean locale.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 6 10:05:34 CST 2011


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

--- Comment #7 from Sagawa <sagawa.aki+winebugs at gmail.com> 2011-12-06 10:05:34 CST ---
Created attachment 37827
  --> http://bugs.winehq.org/attachment.cgi?id=37827
removes width validation in WCUSER_CopyFont

I made the patch which removes character width validation.

As far as I understood, the cause of this failure is WCUSER_CopyFont function.
The function checks whether all characters in the font have fixed width. If a
character in the font doesn't have a same width as the first character has, the
font is be wrong. So some environments, especially DBCS environment, the
procedure is failed. Finally it couldn't find a decent font.

But, in my opinion, this idea is not good now. I have two reasons as follows:

a. This routine is outdated. According to author's FIXME comment, the check was
needed for FreeType < 2.0.8, but commit 570e68b82200 on October 10 updated the
requirement, 2.1.4 or later. And just for reference, Ubuntu 11.10 shipped with
2.4.4.

b. It is not useful for DBCS fonts. Even in fixed-pitch font, such as MS
Gothic, all characters are not same width. There are half-width characters
(mainly ASCII characters) and full-width characters (mainly Kanji) in it.

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