[Bug 29670] RichView can't display bold/italic for its unicode text (because CJK fonts chosen don't support it)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 22 21:40:35 CST 2012


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

Dmitry Timoshkov <dmitry at 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 at 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.

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