http://bugs.winehq.org/show_bug.cgi?id=17936
Summary: Wine chooses Arial Black instead of Arial font Product: Wine Version: 1.1.18 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: q.winehq@rsn-tech.co.uk
Created an attachment (id=20271) --> (http://bugs.winehq.org/attachment.cgi?id=20271) Excerpt from output with WINEDEBUG=font
I just updated Qimage (http://www.ddisoftware.com/qimage) to version 2009.209 and the UI displays with the wrong font. For some reason the Wine font engine thinks that Arial Black is a better match for the requested font than Arial, which is what the app asks for and what it gets with Windows.
If I physically delete the ariblk.ttf file, it will use Arial as desired.
It did this with the 1.1.14 version in my distro (Fedora 9 64-bit) and also with 1.1.18 freshly compiled from source.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-02 22:46:04 --- Are you sure that Arial is installed?
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #2 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-03 03:12:06 --- Yes, Arial is definitely installed.
http://bugs.winehq.org/show_bug.cgi?id=17936
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@codeweavers.com
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-03 08:39:05 --- Please attach full +font log.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #4 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-03 09:23:46 --- Created an attachment (id=20273) --> (http://bugs.winehq.org/attachment.cgi?id=20273) Zipped log with WINEDEBUG=font (25MB unzipped!)
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-04 04:39:45 --- There is no line with "Chosen: L"Arial" L"Black"" in the log, neither I don't see where Arial is being replaced by Arial Black.
http://bugs.winehq.org/show_bug.cgi?id=17936
Steve Rencontre q.winehq@rsn-tech.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20273|0 |1 is obsolete| |
--- Comment #6 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-06 15:40:48 --- Created an attachment (id=20318) --> (http://bugs.winehq.org/attachment.cgi?id=20318) Wine log showing choice of Arial Black for Arial
My apologies, I think that must have been a log from when I tried moving the Arial Black font file out of the way.
Here's a correct one.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-07 00:22:50 --- I wrote a test program which passes exactly same parameters as in your log and I can't reproduce the problem here.
Where have you got from your ariblk.ttf font file? It looks pretty much unusual (if not broken): its font name should be "Arial Black" not "Arial" "Black".
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #8 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-07 03:35:29 --- This is the exact same file as on a Windows XP Pro installation.
FWIW, the Windows font viewer shows the name as "Arial Black" while KFontview has "Arial, Black". I don't know enough about the inner workings of OpenType to tell the significance of that.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-07 05:36:38 --- (In reply to comment #8)
This is the exact same file as on a Windows XP Pro installation. FWIW, the Windows font viewer shows the name as "Arial Black" while KFontview has "Arial, Black". I don't know enough about the inner workings of OpenType to tell the significance of that.
You have 2 ariblk.ttf files installed in your system: /usr/share/fonts/webcore/ariblk.ttf.xxx (which is OK) and /home/steve/.wine/dosdevices/c:/windows/Fonts/ariblk.ttf (which is broken).
Please remove the latter one.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-07 05:39:24 --- Jfyi, I copied ariblk.ttf from my XP install and still can't reproduce this problem.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #11 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-07 06:47:39 --- Ah, yes they are different. I thought that by appending .xxx to the filename I was making it invisible to the font engine, not that it was still finding it but not misusing it.
However, when you say it's "broken", it's Microsoft who have broken it. A bit of Googling shows other people having some problems with this version (2.40) purely in Windows, eg,
http://forums.techarena.in/windows-update/967926.htm
It seems to be fixed there too by reverting to the older version (2.35) which is what I've got in webcore, but that's obviously a workaround rather than a solution.
AIUI, the update is part of XP SP3, so if you haven't installed that, it would explain why your Windows version didn't misbehave.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-07 08:35:05 --- I have the XP SP3 installed, but the problems with HTML rendering under Windows have nothing to do with this bug.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #13 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-07 09:08:33 --- I'm not sure I understand.
Are you saying that you have ariblk.ttf version 2.40 dated 1-1-2007, CRC32=f6253264 and it works fine for you?
I'm not suggesting that HTML rendering is directly relevant, merely that it's one example (and not the only one) of version 2.40 causing problems which were not present with 2.35. That is, it's not simply that I've got a corrupt font file, but MS have changed something and some software has a problem with that change. There may be other factors, of course, and perhaps the problem is not triggered in all circumstances.
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #14 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-07 11:12:54 --- (In reply to comment #13)
I'm not sure I understand. Are you saying that you have ariblk.ttf version 2.40 dated 1-1-2007, CRC32=f6253264 and it works fine for you?
Yes, it's version 2.40
C:\WINNT\Fonts>md5sum ariblk.ttf cd5be9b2c6cdf620fb47f7ca7431dc58 *ariblk.ttf
ariblk.ttf 118832 bytes 02.01.07 03:58
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #15 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-07 11:36:26 --- Well there's /something/ funny going on:
C:\WINNT\Fonts>md5sum ariblk.ttf cd5be9b2c6cdf620fb47f7ca7431dc58 *ariblk.ttf
$ md5sum ~/.wine/drive_c/windows/Fonts/ariblk.ttf cd5be9b2c6cdf620fb47f7ca7431dc58 /home/steve/.wine/drive_c/windows/Fonts/ariblk.ttf
If I delete the file, Arial displays properly; if it's present, it does not.
I've now realised that my original association of the problem with a Qimage update was just accidental - reinstalling the previous Qimage version doesn't change anything, and other apps which try to use Arial behave in the same way.
Is there any other information I can provide to help identify why I'm having a different experience to you?
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #16 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-08 04:08:25 --- (In reply to comment #15)
Is there any other information I can provide to help identify why I'm having a different experience to you?
What's the FreeType version installed in your system? What distro are you using?
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #17 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-04-08 08:17:43 --- (In reply to comment #16)
FreeType is 2.3.7, distro is Fedora 10 x86_64 (I just upgraded from Fedora 9 for other reasons but it made no difference to this problem).
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #18 from Austin English austinenglish@gmail.com 2009-10-12 14:55:56 --- Is this still an issue in current (1.1.31 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17936
--- Comment #19 from Steve Rencontre q.winehq@rsn-tech.co.uk 2009-10-12 18:55:15 --- (In reply to comment #18)
I don't know. I deleted the ariblk.ttf file to make the problem go away and haven't had any need to reinstate it. Moreover, the current distro version of Wine is 1.1.29, so I can't say what a later version might do.
http://bugs.winehq.org/show_bug.cgi?id=17936
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |scott@open-vote.org Resolution| |ABANDONED
--- Comment #20 from Scott Ritchie scott@open-vote.org 2010-08-03 17:10:56 --- I think this bug looks abandoned since we weren't quite able to reproduce it and it doesn't look like it's affecting any specific application. If you see it again please feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=17936
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Dmitry Timoshkov dmitry@codeweavers.com 2010-08-03 21:49:08 --- Closing abandoned.