[Bug 23272] FFFTP: shows only the first line of the Japanese legend.
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Jun 19 23:56:38 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=23272
--- Comment #2 from Sagawa <sagawa.aki+winebugs at gmail.com> 2010-06-19 23:56:38 ---
In my observation, this caused by DrawText API with DT_WORDBREAK flag.
As you might know, Japanese writing style does not put a space between words.
Thus whole the legend texts treated as a long word in the wine. So the text was
shown in a line.
I made a draft patch for this problem, which enables wine to break a word
before a CJK character.
In my Windows XP environment, the rule, which character is breakable or
not-breakable, varies according to the font character set. For example, Greek
characters (e.g. U+03b1, GREEK SMALL LETTER ALPHA) are breakable in
SHIFTJIS_CHARSET, but not in ANSI_CHARSET. But I'd like to make it simple, I
defined just CJK characters are breakable in the above patch.
I hope my assumption is suitable and other wordbreak rules are unchanged.
I'm not familiar with another language, your comments or suggests are welcome.
Best regards.
--
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