[Bug 33251] New: RPG Tkool VX Ace: some texts aren't fit in the message box.
http://bugs.winehq.org/show_bug.cgi?id=33251 Bug #: 33251 Summary: RPG Tkool VX Ace: some texts aren't fit in the message box. Product: Wine Version: 1.5.26 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: sagawa.aki+winebugs(a)gmail.com Classification: Unclassified Created attachment 43971 --> http://bugs.winehq.org/attachment.cgi?id=43971 opening message from phoenix story on wine 1.5.26 RPG Tkool VX[1] (Japanese version of RPG Maker VX) based games, e.g. Phoenix Story[2] and DESTINY ~FIRST FANTASY~[3], sometimes don't show right edge characters. This issue occurs when the line consists 25-30 Japanese characters and depends on the message box size. This issue doesn't occur in Windows. So, I guess that it comes from differences about text metrics. Looking into the wine debug log, these games use VL Gothic font[4] with 24px cell height, i.e. CreateFont("VL Gothic", 24, ....), to show texts. [1] http://tkool.jp/products/rpgvx/ [2] http://phoenix.hotcom-web.com/wordpress/ [3] http://www.freem.ne.jp/win/game/3575 [4] http://vlgothic.dicey.org/ -- 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=33251 Sagawa <sagawa.aki+winebugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://phoenix.hotcom-web.c | |om/wordpress/ -- 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=33251 --- Comment #1 from Sagawa <sagawa.aki+winebugs(a)gmail.com> 2013-03-20 10:03:44 CDT --- Created attachment 43972 --> http://bugs.winehq.org/attachment.cgi?id=43972 opening message from phoenix story on windows 7. In the wine version of screenshot, last two lines' two characters ("ない" and "う」") aren't shown. -- 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=33251 --- Comment #2 from Sagawa <sagawa.aki+winebugs(a)gmail.com> 2013-03-20 10:44:24 CDT --- In short, this issue caused by average font width difference due to internal fixed-point fractional errors. It occurs following steps: 1. Calculate ppem (pixel per em). On both of systems, VL Gothic 24 pixel cell height corresponds to 19 ppem. 2. Calculate the average font width. Wine says it's 10 pixel. But, Windows says it's 9 pixel. 3. As VL Gothic is fixed-pitch font, full-width character advance is twice of average font width. So, Wine uses 20 pixel advance, Windows uses 18 pixel advance. 4. Finally, for 400 pixel message box, 22 Japanese characters are displayed in Windows, but 20 characters are shown in Wine. My proposed patch adjusts the font average width in step 2. I already posted to wine-patches: http://source.winehq.org/patches/data/94913 http://source.winehq.org/patches/data/94914 -- 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=33251 Sagawa <sagawa.aki+winebugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e5f1508031eefb4f71f5fc6a3ac | |af71308003b3e Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #3 from Sagawa <sagawa.aki+winebugs(a)gmail.com> 2013-04-05 07:46:45 CDT --- Patched commited http://source.winehq.org/git/wine.git/commit/e5f1508031eefb4f71f5fc6a3acaf71... -- 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=33251 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2013-04-12 13:46:22 CDT --- Closing bugs fixed in 1.5.28. -- 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