http://bugs.winehq.org/show_bug.cgi?id=29670
Bug #: 29670 Summary: ActionTest doesn't handle unicode correctly Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sundoulos2@gmail.com Classification: Unclassified
Created attachment 38480 --> http://bugs.winehq.org/attachment.cgi?id=38480 unicode text file that shows incorrect behavior.
ActionTest works fine using ANSI files/text. Not so with Unicode. If I copy Unicode text and paste it into ActionTest two things malfunction.
1. It is not possible to change the font of existing or new text; setting or toggling text as Bold has no effect either.
2. Text that is Italic shows properly in the text editor and print preview but prints out as normal rather than italics.
ActionTest can be downloaded from: http://trichview.com/resources/actions/actiontest.zip
http://bugs.winehq.org/show_bug.cgi?id=29670
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://trichview.com/resour | |ces/actions/actiontest.zip
--- Comment #1 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-01-21 12:53:03 CST --- What Wine version do you have?
http://bugs.winehq.org/show_bug.cgi?id=29670
--- Comment #2 from sundoulos2@gmail.com 2012-01-21 12:59:43 CST --- Presently 1.3.37. However, the issue has been around a loooong time, since 1.1.something, 19 maybe, I'm not certain.
http://bugs.winehq.org/show_bug.cgi?id=29670
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.37
http://bugs.winehq.org/show_bug.cgi?id=29670
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|ActionTest doesn't handle |RichView can't display |unicode correctly |bold/italic for its unicode | |text (because CJK fonts | |chosen don't support it) Ever Confirmed|0 |1 Severity|normal |minor
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru 2012-01-22 21:40:35 CST --- The problem is that RichView class (that the application is using internally) decides to use font "times new roman" with charset 128 (SHIFTJIS_CHARSET) for unicode text, and Wine chooses some random, i.e. "appropriate" font from an underlying system which contains glyphs from that charset, but unfortunately most (if not all) such fonts don't have a bold/italic faces.
If I hack dlls/gdi32/freetype.c,freetype_SelectFont() to ignore 128 charset, then I can change text to bold, italic and so on, because now real Times New Roman font is used, which supports them.
You may try to file a bug report to the creator(s) of RichView.
http://bugs.winehq.org/show_bug.cgi?id=29670
--- Comment #4 from sundoulos2@gmail.com 2012-01-23 20:46:42 CST --- Created attachment 38522 --> http://bugs.winehq.org/attachment.cgi?id=38522 file with italic text
http://bugs.winehq.org/show_bug.cgi?id=29670
--- Comment #5 from sundoulos2@gmail.com 2012-01-23 20:47:58 CST --- OK, that explains problem #1. How about #2? I attached another file that doesn't have the same charset issue as the first.
http://bugs.winehq.org/show_bug.cgi?id=29670
--- Comment #6 from Dmitry Timoshkov dmitry@baikal.ru 2012-01-23 22:27:57 CST --- (In reply to comment #5)
OK, that explains problem #1. How about #2? I attached another file that doesn't have the same charset issue as the first.
That's probably a separate problem.
http://bugs.winehq.org/show_bug.cgi?id=29670
--- Comment #7 from sundoulos2@gmail.com 2012-01-24 16:43:06 CST --- Does that mean I need to file another bug report?
http://bugs.winehq.org/show_bug.cgi?id=29670
--- Comment #8 from Dmitry Timoshkov dmitry@baikal.ru 2012-01-24 23:42:13 CST --- (In reply to comment #7)
Does that mean I need to file another bug report?
Probably, but please search for duplicates first.
http://bugs.winehq.org/show_bug.cgi?id=29670
--- Comment #9 from sundoulos2@gmail.com 2012-01-25 07:20:00 CST --- Filed under Bug 29705 http://bugs.winehq.org/show_bug.cgi?id=29705
http://bugs.winehq.org/show_bug.cgi?id=29670
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om