[Bug 31326] New: ScriptStringOut draw glyphs with wrong pitch when WenQuanYi Micro Hei is used
http://bugs.winehq.org/show_bug.cgi?id=31326 Bug #: 31326 Summary: ScriptStringOut draw glyphs with wrong pitch when WenQuanYi Micro Hei is used Product: Wine Version: 1.5.9 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: usp10 AssignedTo: wine-bugs(a)winehq.org ReportedBy: fracting(a)gmail.com Classification: Unclassified Created attachment 41164 --> http://bugs.winehq.org/attachment.cgi?id=41164 C test case wine-1.5.9-222-g47b9dd1 ttf-wqy-microhei: 0.2.0-beta-1 WenQuanYi Micro Hei is used as a replacement of SimSun in Ubuntu Wine package, SimSun is the default GUI font for Chinese version of Wine/Windows. After 5a45e3474141536b02cfc4e924be3aacbd6ad2c5 ( usp10: Implement GPOS Pair Adjustment Positioning Subtable. ) , the glyph pitch is wrong when display string with ScriptStringOut using WenQuanYi Micro Hei. The simplest way to reproduce this bug is : 1. Make sure WenQuanYi Micro Hei is installed and set as replacement of SimSun 2. Open wine iexplore with LC_ALL=zh_CN.utf8 3. type some characters into the address bar, for example, '/', '<', '>', '.' Expect result: The pitch between different glyphs should be a suitable value Actual result: The pitch between two '/' is larger then normal, pitch between two '>' is even larger, pitch between two '.' is zero, pitch between two '<' is negative. winetricks usp10 workaround the bug. The attachment is a test case, notice that SSA_LINK flag in ScriptStringAnalyse is necessary to reproduce this bug. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aric(a)codeweavers.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 --- Comment #1 from Qian Hong <fracting(a)gmail.com> 2012-07-26 05:36:59 CDT --- Created attachment 41165 --> http://bugs.winehq.org/attachment.cgi?id=41165 Screenshot of the testcase -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 --- Comment #2 from Qian Hong <fracting(a)gmail.com> 2012-07-26 05:38:09 CDT --- Addition info: This bug could not be reproduced with "WenQuanYi Zen Hei", as far as I see only affects "WenQuanYi Micro Hei" -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |5a45e3474141536b02cfc4e924b | |e3aacbd6ad2c5 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2012-07-26 07:22:07 CDT --- I'm seeing a similar problem in Tanner's tenv.exe tool; entering IP addresses is awkward because after typing a 9, the next char is displayed in the middle of the 9. This is without any Chinese fonts. Here's a screenshot showing what happens when you type '192' into a textbox in tenv.exe. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 --- Comment #4 from Dan Kegel <dank(a)kegel.com> 2012-07-26 07:23:36 CDT --- Created attachment 41168 --> http://bugs.winehq.org/attachment.cgi?id=41168 Screenshot of tenv.exe showing problem. winetricks usp10 works around. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 --- Comment #5 from Dan Kegel <dank(a)kegel.com> 2012-07-26 07:25:35 CDT --- (Err, looks like the pitch error in tenv.exe happens after the '1', not after the '9'. The picture shows the problem clearly.) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ScriptStringOut draw glyphs |ScriptStringOut draw glyphs |with wrong pitch when |with wrong pitch with some |WenQuanYi Micro Hei is used |fonts -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwicksall(a)pls-net.org --- Comment #6 from Dan Kegel <dank(a)kegel.com> 2012-07-26 12:31:35 CDT --- *** Bug 31244 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 GyB <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com --- Comment #7 from GyB <gyebro69(a)gmail.com> 2012-07-27 13:02:14 CDT --- The easiest way to reproduce the problem is to open up winecfg, go to the About tab, select one of the empty fields and press and hold the '9' key. This bug affects the game East India Company as well, where some of the letters in a given text overlapping each other. Native usp10 is a workaround. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 --- Comment #8 from Aric Stewart <aric(a)codeweavers.com> 2012-08-14 09:38:38 CDT --- Ok I believe I have this one resolved. The usp10 caching patches from Monday and the correction to Pair Placement submitted today should make all these function correctly. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fa7a34b907ea842134a31b1ad24 | |660d7630d09c0 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #9 from Qian Hong <fracting(a)gmail.com> 2012-08-16 12:38:40 CDT --- Fixed in wine-1.5.10-174-gf881dcf, thanks Aric! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> 2012-08-17 13:54:15 CDT --- Closing bugs fixed in 1.5.11. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|fa7a34b907ea842134a31b1ad24 | |660d7630d09c0 | -- 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.
http://bugs.winehq.org/show_bug.cgi?id=31326 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e2250ce6cb5c364242f4f7d9545 | |61cf2df75e534 -- 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.
participants (1)
-
wine-bugs@winehq.org