http://bugs.winehq.org/show_bug.cgi?id=12573
Summary: Notation Composer: font glitch - boxes scattered around on initial screen Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: marc321@gmail.com CC: huw@codeweavers.com
Created an attachment (id=12155) --> (http://bugs.winehq.org/attachment.cgi?id=12155) Box symbols scattered on main screen, visible in Wine 0.9.59 to current Git
When trying to run Notation Composer (demo here: http://notation.com/download/NotationComposer233TrialSmallSetup.exe), I see a bunch of box symbols scattered around on the initial screen. Before 0.9.59, the symbols resembled colons. From my regression tests, it seems the problem was introduced several months ago by the following:
bc2a4dbee086de69cd05a30f3d717cb6858d030c is first bad commit commit bc2a4dbee086de69cd05a30f3d717cb6858d030c Author: Huw Davies huw@codeweavers.com Date: Fri Oct 12 14:36:44 2007 +0100
gdi32: Try to load Wine's TrueType fonts from the build directory.
:040000 040000 db790cab79623baf99dc6e69ee888adcb075c70b 22558bc1db95d81a98203233cb7e32bdbf4aef9b M dlls
Hopefully it's not too late to take a look at it. Usually, I see those box symbols when certain Unicode symbols are not on my system.
I marked this as trivial, since it doesn't seem to affect the operation of the program (at first glance). This bug may be somehow related to http://bugs.winehq.org/show_bug.cgi?id=12298, but I'm shooting in the dark on that one.
To reproduce, download the demo, use "winetricks vcrun6" to get mfc42.dll (otherwise the trial period immediately expires), and install the program. Composer will start automatically after the installation finishes. You can then observe the "scattered symbols."
I will attach a couple screenshots showing the behavior on my system.
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #1 from Marc Payne marc321@gmail.com 2008-04-13 23:44:34 --- Created an attachment (id=12156) --> (http://bugs.winehq.org/attachment.cgi?id=12156) Colon symbols, visible with Wine 0.9.58 and earlier (down to 0.9.47)
Added another screenshot showing the behavior on Wine 0.9.58 and earlier.
Also, forgot to add info about my system, if it is relevant at all.
Windows version: XP Distro: Slackware(-current) Kernel version: 2.6.24.3-smp CPU: Intel Core 2 Duo E6750 GCC version: 4.2.3 glibc version: 2.7 xorg-server version: 1.4.0.90 Video card, driver version: NVidia GeForce 8600GT, 169.12
http://bugs.winehq.org/show_bug.cgi?id=12573
Marc Payne marc321@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #2 from Marc Payne marc321@gmail.com 2008-04-14 01:01:40 --- The following commit is apparently what changed the behavior from colons in 0.9.58 to boxes in 0.9.59.
commit 4094ff025675a14e7572d975d4fd1bf7c11dc2e7 Author: MikoÅaj Zalewski mikolaj@zalewski.pl Date: Sun Mar 30 21:43:15 2008 +0200
gdi32: Fix GetGlyphIndices to select properly the invalid char glyph for TrueType fonts.
:040000 040000 ca093968d3c10e9793c04166dcc457733322ce0e 90cac6a6e1c80199bf3ab17b25fb9445baa1441c M dlls
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #3 from Marc Payne marc321@gmail.com 2008-04-14 01:28:43 --- Please note that installing the tahoma font with winetricks seems to eliminate most of the box symbols, except for the five next to "-- OR --" under "Open a MIDI or Notation File on My Computer".
However, I do not believe this invalidates the bug, since Wine 0.9.47 and earlier render the initial screen without problems.
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2008-04-14 02:01:23 --- (In reply to comment #3)
However, I do not believe this invalidates the bug, since Wine 0.9.47 and earlier render the initial screen without problems.
Tahoma replacement has been introduced in Wine 0.9.47, can you please retest if you can reproduce the bug with 0.9.47?
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #5 from Marc Payne marc321@gmail.com 2008-04-14 11:34:57 --- (In reply to comment #4)
Tahoma replacement has been introduced in Wine 0.9.47, can you please retest if you can reproduce the bug with 0.9.47?
Thanks for the reply.
Apparently, I made a mistake with my version numbers. I retested with 0.9.47 and successfully reproduced the bug. I also retested with 0.9.46, and could not reproduce the bug. For the record, I ran my regression test from current Git back to 0.9.45, so the first commit I mentioned should be the same as if I had run the test from 0.9.46 to 0.9.47.
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2008-04-14 21:56:44 --- (In reply to comment #5)
Apparently, I made a mistake with my version numbers. I retested with 0.9.47 and successfully reproduced the bug. I also retested with 0.9.46, and could not reproduce the bug. For the record, I ran my regression test from current Git back to 0.9.45, so the first commit I mentioned should be the same as if I had run the test from 0.9.46 to 0.9.47.
That along with your comment that native Tahoma fixes the problem suggests that Tahoma replacement in Wine lacks some glyphs needed for this application.
Could you try to figure that out either by comparing screen shots or with a +font,+xrender log?
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #7 from Marc Payne marc321@gmail.com 2008-04-15 00:04:22 --- Created an attachment (id=12195) --> (http://bugs.winehq.org/attachment.cgi?id=12195) Screenshot from Wine 0.9.46 - the way it should look
In comparing the good screenshot with either bad one, no visible characters are missing. Since the main screen is basically an HTML page, those extra symbols almost seem like nbsp's, especially given their placement. I could be totally wrong, as I have no way to check the source (that I know of).
I went ahead and captured a +font,+xrender log with current (as of 4/13) Git and will upload both a head and a tail. The tail seems less interesting than the head, so it is shorter ;). If my opinion of interesting is not suitable, please let me know how much of the entire log to upload.
Am I doing something wrong, based on the head of the log?
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #8 from Marc Payne marc321@gmail.com 2008-04-15 00:05:36 --- Created an attachment (id=12196) --> (http://bugs.winehq.org/attachment.cgi?id=12196) +font,+xrender debug head, 2000 lines
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #9 from Marc Payne marc321@gmail.com 2008-04-15 00:06:38 --- Created an attachment (id=12197) --> (http://bugs.winehq.org/attachment.cgi?id=12197) +font,+xrender debug tail, 1000 lines
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #10 from Huw Davies huw@codeweavers.com 2008-04-15 04:37:16 --- (In reply to comment #9)
Created an attachment (id=12197)
--> (http://bugs.winehq.org/attachment.cgi?id=12197) [details]
+font,+xrender debug tail, 1000 lines
Neither the head or the tail is that interesting. Could you attach the entire log?
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2008-04-15 04:54:25 --- Compress the log with 'bzip2 -9' before attaching.
http://bugs.winehq.org/show_bug.cgi?id=12573
Marc Payne marc321@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #12196|0 |1 is obsolete| | Attachment #12197|0 |1 is obsolete| |
--- Comment #12 from Marc Payne marc321@gmail.com 2008-04-15 12:15:42 --- Created an attachment (id=12210) --> (http://bugs.winehq.org/attachment.cgi?id=12210) Full +font,+xrender log
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #13 from Huw Davies huw@codeweavers.com 2008-04-15 17:10:04 --- (In reply to comment #12)
Created an attachment (id=12210)
--> (http://bugs.winehq.org/attachment.cgi?id=12210) [details]
Full +font,+xrender log
Thanks, and good call earlier, the app is indeed writing nbsp's (U+00A0).
Tahoma should map this to the space glyph. I'll fix this soon. I happen to know that somebody else is adding a few more glyphs to Tahoma at the moment, so I'll let him add those first (conflicts in the font files are a pain).
http://bugs.winehq.org/show_bug.cgi?id=12573
--- Comment #14 from Marc Payne marc321@gmail.com 2008-04-16 14:57:20 ---
Tahoma should map this to the space glyph. I'll fix this soon. I happen to know that somebody else is adding a few more glyphs to Tahoma at the moment, so I'll let him add those first (conflicts in the font files are a pain).
Thank you very much for your efforts! I look forward to the fix.
http://bugs.winehq.org/show_bug.cgi?id=12573
Marc Payne marc321@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #15 from Marc Payne marc321@gmail.com 2008-09-02 18:55:05 --- This bug seems to be resolved as of wine-1.0 (as far as my eyes can tell). Setting resolution to FIXED.
http://bugs.winehq.org/show_bug.cgi?id=12573
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2008-09-05 10:38:55 --- Closing bugs fixed in 1.1.4.
http://bugs.winehq.org/show_bug.cgi?id=12573
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified