http://bugs.winehq.org/show_bug.cgi?id=34884
Bug #: 34884 Summary: Touhou Danmakufu 0.12m's font becomes distorted in Wine 1.7.5 Product: Wine Version: 1.7.5 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andrewsuicune@gmail.com Classification: Unclassified
In Wine 1.7.5, Touhou Danmakufu 0.12m's default font, used on the Directory screen, built in text, etc, suddenly became mangled and distorted. I believe it has to do with the simulated bold font update, since it was not present in Wine 1.7.3.
This bug is not severe, but 'l's look like capital 'I's and overall, it's either unreadable or ugly to look at.
I believe that the bug is caused by one of the following, but I have absolutely no evidence to support it.
Akihiro Sagawa (3): gdi32/tests: Add tests for fake bold outline fonts. gdi32: Adjust fake bold outline font metrics. gdi32: Synthesize bold glyphs for outline fonts.
This bug does not adversely affect the software, but makes reverting to 1.7.3 appealing. It does not (as far as I know as of now) affect Touhou Danmakufu ph3, at least not on the Directory listing.
http://bugs.winehq.org/show_bug.cgi?id=34884
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=34884
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com 2013-11-11 04:25:49 CST --- Could you attach trace log with WINEDEBUG=+font and screenshots?
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #2 from Andrew Fan andrewsuicune@gmail.com 2013-11-15 19:43:35 CST --- Created attachment 46539 --> http://bugs.winehq.org/attachment.cgi?id=46539 Image in Wine 1.7.3
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #3 from Andrew Fan andrewsuicune@gmail.com 2013-11-15 19:44:03 CST --- Created attachment 46540 --> http://bugs.winehq.org/attachment.cgi?id=46540 Image in Wine 1.7.6 (same for 1.7.5)
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #4 from Andrew Fan andrewsuicune@gmail.com 2013-11-15 19:45:07 CST --- I added two attachments. As is evident from viewing, the 1.7.6 font is distorted. The text is trying to render in a manner similar to in Windows, but is failing to do so correctly.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2013-11-15 19:47:43 CST --- A windows screenshot wouldn't hurt.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #6 from Andrew Fan andrewsuicune@gmail.com 2013-11-16 13:37:22 CST --- Created attachment 46549 --> http://bugs.winehq.org/attachment.cgi?id=46549 Image on Windows
P.S. According to my sources, the font is MS Gothic.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #7 from Andrew Fan andrewsuicune@gmail.com 2013-11-16 13:41:06 CST --- Edit: It's might not be MS Gothic. Sorry about that.
(In reply to comment #6)
Created attachment 46549 [details] Image on Windows
P.S. According to my sources, the font is MS Gothic.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #8 from Andrew Fan andrewsuicune@gmail.com 2013-11-16 14:02:14 CST --- Edit again: It indeed is MS Gothic Font size 12 bold.
Once again, I apologize for any problems the font mix up may have caused. And yes, the font is bold.
(In reply to comment #7)
Edit: It's might not be MS Gothic. Sorry about that.
(In reply to comment #6)
Created attachment 46549 [details] Image on Windows
P.S. According to my sources, the font is MS Gothic.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #9 from Sagawa sagawa.aki+winebugs@gmail.com 2013-11-23 08:50:39 CST --- Created attachment 46620 --> http://bugs.winehq.org/attachment.cgi?id=46620 Improvements for small bold face synthesizing
Could you try this patch?
In detail, this patch avoids increasing Y direction thickness if target font is small. This feature requires newer FreeType library (2.4.10 and/or later).
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #10 from Andrew Fan andrewsuicune@gmail.com 2013-11-23 09:11:53 CST --- I will try it after I've tested 1.7.7.
Also, I've never patched my Wine before, and I actually do not know how to download the patch.
I apologize for any inconvenience this may cause.
(In reply to comment #9)
Created attachment 46620 [details] Improvements for small bold face synthesizing
Could you try this patch?
In detail, this patch avoids increasing Y direction thickness if target font is small. This feature requires newer FreeType library (2.4.10 and/or later).
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #11 from Austin English austinenglish@gmail.com 2013-11-25 14:10:19 CST --- (In reply to comment #10)
I will try it after I've tested 1.7.7.
Also, I've never patched my Wine before, and I actually do not know how to download the patch.
I apologize for any inconvenience this may cause.
http://wiki.winehq.org/Patching
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #12 from Andrew Fan andrewsuicune@gmail.com 2013-12-08 16:41:40 CST --- Still present in 1.7.8.
Note: The reason I have not tested the patch is because I actually do not know how to download it.
Once again, I apologize.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #13 from Andrew Fan andrewsuicune@gmail.com --- Still present in 1.7.10
Getting the following error when trying to patch:
Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.diff patch: **** strip count l is not a number Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.patch patch: **** strip count l is not a number
http://bugs.winehq.org/show_bug.cgi?id=34884
tyle7@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tyle7@hotmail.com
--- Comment #14 from tyle7@hotmail.com --- (In reply to comment #13)
Getting the following error when trying to patch:
Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.diff patch: **** strip count l is not a number Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.patch patch: **** strip count l is not a number
try with the number 1 (one) rather than the letter l.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #15 from Andrew Fan andrewsuicune@gmail.com --- (In reply to comment #14)
(In reply to comment #13)
Getting the following error when trying to patch:
Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.diff patch: **** strip count l is not a number Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.patch patch: **** strip count l is not a number
try with the number 1 (one) rather than the letter l.
Where?
http://i1164.photobucket.com/albums/q570/SparenofIria/ScreenShot2014-01-05at...
^An image of both what I am using as the patch (what I directly downloaded by manually downloading the url) and the terminal code that resulted from patch -pl < thickness.patch
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #16 from tyle7@hotmail.com --- (In reply to comment #15)
(In reply to comment #14)
(In reply to comment #13)
Getting the following error when trying to patch:
Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.diff patch: **** strip count l is not a number Andrews-MacBook-Pro:wine-git andrewfan$ patch -pl < thickness.patch patch: **** strip count l is not a number
try with the number 1 (one) rather than the letter l.
Where?
http://i1164.photobucket.com/albums/q570/SparenofIria/ScreenShot2014-01- 05at94903AM_zpsa0e00421.png
^An image of both what I am using as the patch (what I directly downloaded by manually downloading the url) and the terminal code that resulted from patch -pl < thickness.patch
As the error messages you are getting says: "patch: **** strip count l is not a number"
the character after the -p option of the patch command must be a number. It looks like you are using the letter 'l' from the alphabet instead.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #17 from Andrew Fan andrewsuicune@gmail.com --- I patched successfully and built wine. However, when I tried this:
LANG="ja_JP" ./wine "C:\Program Files\DNHTest\th_dnh.exe"
I got this:
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc69c5e Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc69c5e err:module:attach_process_dlls "DSOUND.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\DNHTest\th_dnh.exe" failed, status c0000005
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #18 from Andrew Fan andrewsuicune@gmail.com --- Still not fixed in Wine 1.7.14; in-game text now renders at a font size that is too small and the menu text remains impossible to read.
I am personally unable to run the executable for the program post-patching due to the FreeType Font issue (I installed it, but I still get the error), which is not present when running wine normally via Command Line.
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #19 from Sagawa sagawa.aki+winebugs@gmail.com --- Unfortunately, I haven't sent the patch to mainline. Because I have no OS X machine and I'm not 100% sure about that my patch resolves the issue on Danmakufu. If someone tries the patch and gives me positive feedback, I'll consider sending the patch.
@Andrew: Did you install FreeType development files such as header files? If not, could you install them and build again?
http://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #20 from Andrew Fan andrewsuicune@gmail.com --- Unfortunately, as of 1.7.20, 0.12m is crashing on start for a sound related issue and I can no longer test to see whether this bug is still present. If that other bug is rectified, I will see the status of this one.
@Sagawa: I have not; I completely wiped and reinstalled wine this afternoon because I was getting errors everywhere, and I did not try beforehand.
https://bugs.winehq.org/show_bug.cgi?id=34884
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Touhou Danmakufu 0.12m's |Touhou Danmakufu 0.12m's |font becomes distorted in |font becomes distorted |Wine 1.7.5 |
--- Comment #21 from Ken Sharp imwellcushtymelike@gmail.com --- Please try again in Wine 1.7.48.
https://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #22 from Andrew Fan andrewsuicune@gmail.com --- Since the application has been crashing on startup for the past who knows how many versions, it is not possible to test for this bug.
(In reply to Ken Sharp from comment #21)
Please try again in Wine 1.7.48.
https://bugs.winehq.org/show_bug.cgi?id=34884
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdi32
--- Comment #23 from Nikolay Sivov bunglehead@gmail.com --- Andrew, could you provide download link for this, and installation instructions. I found some page for it, but I can use some help with it.
https://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #24 from Sagawa sagawa.aki+winebugs@gmail.com --- The application is available from http://www.geocities.co.jp/SiliconValley-Oakland/9951/products/th_dnh.zip . (Please note that Dnmakufu has two versions, namely 0.12m and ph3. The above link is for 0.12m.)
About install instructions, please refer Andrew's comment on another bug, https://bugs.winehq.org/show_bug.cgi?id=32143#c9 .
https://bugs.winehq.org/show_bug.cgi?id=34884
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #25 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine(3.20)?
https://bugs.winehq.org/show_bug.cgi?id=34884
--- Comment #26 from Andrew Fan andrewsuicune@gmail.com --- (In reply to joaopa from comment #25)
Is still a bug in current wine(3.20)?
Since the application crashes on startup, I am unable to test if this issue is still relevant on macOS. However, I am unaware of the status on Linux.
https://bugs.winehq.org/show_bug.cgi?id=34884
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #27 from Andrew Fan andrewsuicune@gmail.com --- Testing on 4.0 rc6 (and rc4 as well), now that the application runs in the first place and this issue can be tested, it seems that the font renders completely differently and does not exhibit this issue. Marking as resolved.
https://bugs.winehq.org/show_bug.cgi?id=34884
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc7.