http://bugs.winehq.org/show_bug.cgi?id=9696
Summary: Gothic3 fonts Product: Wine Version: 0.9.41. Platform: PC-x86-64 URL: http://www.worldofgothic.de/dl/index.php?go=downloads&re lease_id=260 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-directx AssignedTo: wine-bugs@winehq.org ReportedBy: kgbricola@web.de
Created an attachment (id=8116) --> (http://bugs.winehq.org/attachment.cgi?id=8116) diffrence between the versions 0.9.40 and 0.9.41
Some fonts in Gothic 3 aren't there anymore. In version 0.9.40 and below the fonts are rendered correctly but width version 0.9.41 the fonts are gone. The configuration and all other stuff are the same. In version 0.9.42 it is the same as in 0.9.41. I cannot test higher versions than 0.9.42 because Gothic 3 crashes in the loading screen.
http://bugs.winehq.org/show_bug.cgi?id=9696
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Gothic3 fonts |Gothic3 fonts missing
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-17 10:22:00 --- Sounds like a duplicate of the bug 8983. Can you try and see if the same patch has caused this regression as well?
http://bugs.winehq.org/show_bug.cgi?id=9696
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #2 from Rico kgbricola@web.de 2007-09-17 12:08:45 --- I patched my wine 0.9.41 back but it's the same as before. I couldn't get the fonts working.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #3 from Rico kgbricola@web.de 2007-09-17 12:27:01 --- I will try out which patch coursed the problem but for now i don't no how. So it could take i while ;-).
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #4 from Austin English austinenglish@gmail.com 2007-09-17 12:41:04 --- These may help:
http://wiki.winehq.org/RegressionTesting
http://wiki.winehq.org/GitWine
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #5 from Rico kgbricola@web.de 2007-09-17 14:28:56 --- After the regression test the output is: cfe289e69d2a189315ad0e77ecb347fc8c5752a6 is first bad commit commit cfe289e69d2a189315ad0e77ecb347fc8c5752a6 Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Wed Jul 11 15:07:30 2007 +0900
gdi32: Do not report an error if a requested to add font is already loaded.
:040000 040000 32f4200bcf7f8348f8e5d95544503748dcb66706 bf359f6b1bffafb31396cb9a7ba0393eaae497ed M dlls
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-17 21:44:51 --- Please generate +font logs before and after the change and attach the logs here.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #7 from Rico kgbricola@web.de 2007-09-18 04:02:47 --- Created an attachment (id=8127) --> (http://bugs.winehq.org/attachment.cgi?id=8127) the logs with +font - after and before
Here are the logs. One before where the fonts is correct and one after where the font is missing.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-18 07:25:37 --- How large are the +relay,+font logs (compressed with 'bzip2 -9')? +font seems to be not enough to fully understand the problem.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #9 from Rico kgbricola@web.de 2007-09-18 15:21:21 --- After the log is ~13GB i run out of disk space and the game hasn't finish loading. If i put it to /dev/null the game starts, but then i couldn't get the log ;-). Is there another way to get it?
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #10 from Rico kgbricola@web.de 2007-09-19 05:28:41 --- I take this command so the logfile is much smaller (~7.8GB).
WINEDEBUG=+relay,+font wine-git/wine Gothic3.exe 2>&1 | grep -v "KERNEL32.TlsGetValue" > after.txt
I hope there is enough in the logfile. I compressed it with lrzip because it is only 17.7MB. With bzip2 -9 it would be 10MB greater.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #11 from Rico kgbricola@web.de 2007-09-20 03:40:33 --- The two logfiles: ftp://217.235.89.156/after.txt.lrz ftp://217.235.89.156/before.txt.lrz
They are on my one ftp. So this link works only the next 12 hours. Then I got a new ip.
USER: wine PASSWORD: winehq
http://bugs.winehq.org/show_bug.cgi?id=9696
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #12 from Rico kgbricola@web.de 2007-09-20 07:31:11 --- I uploaded the files here because I shut down my pc ;-).
http://www.file-upload.net/download-414820/before.txt.lrz.html (22.3MB) http://www.file-upload.net/download-414833/after.txt.lrz.html (17.7MB)
These files are compressed with lrzip.
I took this command to get the logfiles: WINEDEBUG=+relay,+font wine-git/wine Gothic3.exe 2>&1 | grep -v "KERNEL32.TlsGetValue" > after.txt Because this makes the logfiles much smaller.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #13 from Rico kgbricola@web.de 2007-09-26 13:07:36 --- Are these logs enough or should I do some new one?
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #14 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-26 23:22:21 --- Looks like that for some reason you have a duplicate of Gothic.ttf, and the file that is loaded and used ~/.wine/drive_c/windows/fonts/Gothic3.ttf doesn't work. Can you try to move/remove it and see if that helps?
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #15 from Rico kgbricola@web.de 2007-09-27 05:36:38 --- The file ~/.wine/drive_c/windows/fonts/Gothic3.ttf -> I copied there because this is shipped with the game "Gothic3". It is in the game directory (but it is not used by wine??? -> not loaded from there???). If I remove the file ~/.wine/drive_c/windows/fonts/Gothic3.ttf then the font is missing in both cases (before and after). So Gothic3.ttf is not a duplicate of Gothic.ttf. If it is there then the font is displayed in the before case.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #16 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-27 08:31:18 --- According to after.txt.lrz ~/.wine/drive_c/windows/fonts/Gothic3.ttf is a duplicate of /var/ftp/pub/ramdisk/Gothic3.ttf, and the game is being run from /var/ftp/pub/ramdisk.
But in earlier logs there is only single Gothic3.ttf, located at /home/ricola/.wine/dosdevices/c:/Programme/Gothic III Demo/Gothic3.ttf
By copying the font manually you are provoking different behaviour by triggering a bug in not implemented RemoveFontResource.
If you want to help, please use the same installation, don't copy any files around manually.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #17 from Rico kgbricola@web.de 2007-09-27 14:01:15 --- "According to after.txt.lrz ~/.wine/drive_c/windows/fonts/Gothic3.ttf is a duplicate of /var/ftp/pub/ramdisk/Gothic3.ttf, and the game is being run from /var/ftp/pub/ramdisk." -> Yes, that's right. I copied it to "/var/ftp/pub/ramdisk" because then the loading time is much shorter (it is loading from the ramdisk).
"But in earlier logs there is only single Gothic3.ttf, located at /home/ricola/.wine/dosdevices/c:/Programme/Gothic III Demo/Gothic3.ttf" -> ??? A copy is allways in the /home/ricola/.wine/dosdevices/c:/windows/fonts/Gothic3.ttf or not? Without that one the font is allways missing!
"If you want to help, please use the same installation, don't copy any files around manually." Sorry, was my fold. I want to help, please say me what exactly I should do.
Should I delete my .wine directory, install the game and run then the +relay,+font logs again?
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #18 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-27 22:58:22 ---
Should I delete my .wine directory, install the game and run then the +relay,+font logs again?
Yes, please. To make the logs smaller, in the logs please search for the last call to AddFontResource and cut the log ~300 lines after it.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #19 from Rico kgbricola@web.de 2007-09-28 06:00:29 --- Of course there could be another problem ...
If I delete the .wine directory, the folder ".wine/drive_c/windows/fonts" is empty after running wine the firs time. Is this correct?
And now the fonts are missing in both cases! Even in regedit!
I've done the following: [~]$ /home/ricola/Desktop/wine/wine-git/wine --version wine-0.9.40-243-g82e0680 -> Version which worked before with the old wine directory!
[~]$ /home/ricola/Desktop/wine/wine-git/wine regedit -> the fonts are displayed correctly in the regedit!!!
[~]$ /home/ricola/Desktop/wine/wine-git/wine Desktop/Gothic3_Demo_de.exe wine: creating configuration directory '/home/ricola/.wine'... wine: '/home/ricola/.wine' created successfully. --snip-- -> there are some FIXMEs but thats not the problem, I could post this log if they could be useful
[~]$ /home/ricola/Desktop/wine/wine-git/wine regedit -> all fonts are missing for now!!!
[~]$ cd .wine/drive_c/Programme/Gothic\ III\ Demo/ -> is the directory where the game is installed
[~]$ /home/ricola/Desktop/wine/wine-git/wine Gothic3.exe -> the font in the game is missing too!!! In both versions!
So what should I do next? Should I make the two cases (before and after) even both are not working? I think, thats not necessary because the problem is elsewhere. Or am I wrong?
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #20 from Rico kgbricola@web.de 2007-09-28 07:54:55 --- [~]$ /home/ricola/Desktop/wine/wine-git/wine regedit -> the fonts are displayed correctly in the regedit!!!
[~]$ /home/ricola/Desktop/wine/wine-git/wine Desktop/Gothic3_Demo_de.exe wine: creating configuration directory '/home/ricola/.wine'... wine: '/home/ricola/.wine' created successfully. --snip-- -> there are some FIXMEs but thats not the problem, I could post this log if they could be useful
Sorry there is a mistake in: [~]$ /home/ricola/Desktop/wine/wine-git/wine regedit wine: creating configuration directory '/home/ricola/.wine'... wine: '/home/ricola/.wine' created successfully. --snip-- -> the fonts are displayed correctly in the regedit!!!
[~]$ /home/ricola/Desktop/wine/wine-git/wine Desktop/Gothic3_Demo_de.exe -> there are some FIXMEs but thats not the problem, I could post this log if they could be useful
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #21 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-28 10:01:43 ---
[~]$ cd .wine/drive_c/Programme/Gothic\ III\ Demo/ -> is the directory where the game is installed
[~]$ /home/ricola/Desktop/wine/wine-git/wine Gothic3.exe -> the font in the game is missing too!!! In both versions!
That means that this bug is invalid since the behaviour actually haven't changed.
So what should I do next? Should I make the two cases (before and after) even both are not working? I think, thats not necessary because the problem is elsewhere. Or am I wrong?
Yes, looks like the problem has nothing to do with the patch you've found.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #22 from Rico kgbricola@web.de 2007-09-28 13:29:34 --- "That means that this bug is invalid since the behaviour actually haven't changed."
But if I copy some fonts to ~/.wine/drive_c/windows/fonts/ (these which are in the wine-git/fonts) the text in the regedit is displayed correctly! (or should the directory ~/.wine/drive_c/windows/fonts/ ever empty?)
And if I copy some more fonts there (from the windows partition) the fonts in Gothic3 are also displayed with the version before. But not with the version after!
So, how is the correct way to handle the fonts?
http://bugs.winehq.org/show_bug.cgi?id=9696
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #23 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-28 23:00:18 ---
But if I copy some fonts to ~/.wine/drive_c/windows/fonts/ (these which are in the wine-git/fonts) the text in the regedit is displayed correctly! (or should the directory ~/.wine/drive_c/windows/fonts/ ever empty?)
Wine setup doesn't copy builtin fonts to ~/.wine/drive_c/windows/fonts, the fonts are get copied to /usr/[local]/share/wine/fonts. By copying files around you're potentially breaking Wine installation.
And if I copy some more fonts there (from the windows partition) the fonts in Gothic3 are also displayed with the version before. But not with the version after!
So, how is the correct way to handle the fonts?
I'd suggest stop messing with fonts, and create a separate bug for fonts problem with pure clean Wine installation.
I'm marking this bug as invalid.
http://bugs.winehq.org/show_bug.cgi?id=9696
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-28 23:01:05 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=9696
--- Comment #25 from Rico kgbricola@web.de 2007-09-29 09:20:09 --- Ok, thank you for all your help.
http://bugs.winehq.org/show_bug.cgi?id=9696
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_directx |-unknown