https://bugs.winehq.org/show_bug.cgi?id=39913
Bug ID: 39913 Summary: win16 regression: fonts broken in several ways Product: Wine Version: 1.9.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: curaga@operamail.com Distribution: ---
Created attachment 53303 --> https://bugs.winehq.org/attachment.cgi?id=53303 Screenshot showing both good and bad results.
After upgrading to 1.9.0 from 1.3.0, the fonts in Stars! broke in several ways. Screenshot attached.
Nothing else changed on the system - same libraries and same fonts are installed for both Wine versions. I realize it's a wide version gap, but with Wine builds taking 15 min each, I'm afraid I don't have the time right now to bisect closer.
1. The wrong font is picked. Wine 1.3.0 and several previous versions picked the same, correct font as real Win 3.11.
2. The font's height is calculated wrong, leaving only part of the text visible.
3. Spaces are sometimes replaced with boxes.
https://bugs.winehq.org/show_bug.cgi?id=39913
curaga@operamail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, win16 URL| |http://starsautohost.org/fi | |les/stars26b.zip Depends on| |24061 Distribution|--- |Other
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #1 from curaga@operamail.com --- Sorry: that's dashes, not spaces, are replaced with boxes.
https://bugs.winehq.org/show_bug.cgi?id=39913
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #2 from Austin English austinenglish@gmail.com --- Please run a regression test: http://wiki.winehq.org/RegressionTesting
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #3 from curaga@operamail.com --- As mentioned, at 15min a pop, bisecting would take half a day. It'll be months before I have that kind of time free.
https://bugs.winehq.org/show_bug.cgi?id=39913
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- (In reply to curaga from comment #3)
As mentioned, at 15min a pop, bisecting would take half a day. It'll be months before I have that kind of time free.
I don't think it's offically supported or suggested. But one guy is doing regression testing so that he starts the games/applications with different POL builds and marks the version that it works and then runs the regression testing. It's faster to download or use several pol builds than compiling wine. Also I have considered to have local copy of different wine versions compiled. Regression testing would be faster to just run the applicatios with different wines.
https://bugs.winehq.org/show_bug.cgi?id=39913
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net --- Not major.
FWIW, I can't reproduce this in 1.9.0, but that could be because I have the MS core fonts installed systemwide.
https://bugs.winehq.org/show_bug.cgi?id=39913
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|win16 regression: fonts |Stars! 2.60b has font |broken in several ways |issues (cropped text/wrong | |font)
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- I can't reproduce it too and I don't have core fonts installed. From your screenshot it looks like a different font is being used.
Did you try again in a clean prefix to ensure it is not a font substitution problem from your old prefix?
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #7 from curaga@operamail.com --- Created attachment 53317 --> https://bugs.winehq.org/attachment.cgi?id=53317 New screenshot
Installing to a clean prefix, it is still broken, see screenshot.
It picked a different wrong font, and now the color is wrong too.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #8 from curaga@operamail.com --- @super_man
I don't run a binary distro, so PoL wouldn't work.
@Rosanne
I thought regressions are always important? Especially when it's a 20 years old app, and win16 is considered done.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to curaga from comment #8)
I thought regressions are always important? Especially when it's a 20 years old app, and win16 is considered done.
The major status means that a lot of applications are affected by the problem. So far this is the only application. Since I cannot reproduce the issue I can't help with the regression test.
What super man suggested is that you can try to narrow down the version where it stopped working by manually doing a binary search installing different versions of wine inside POL.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #10 from Rosanne DiMesio dimesio@earthlink.net --- I notice you chose "Other" for your distro; exactly which one are you on?
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #11 from curaga@operamail.com --- Oh ok, then it's normal priority, thanks for the clarification.
I have to ask why is Wine trying to substitute fonts in the first place?
When a win16 app asks for Courier, it expects the bitmapped Courier from Win 3.11. Wine ships with them (cour*.fon). 1.3.0 and all previous versions I have used picked the bitmapped Courier, but 1.9.0 is trying to replace them with system TTF fonts, if I understand right.
@Rosanne: TinyCore
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #12 from Rosanne DiMesio dimesio@earthlink.net --- Duplicate of bug 24923?
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #13 from Austin English austinenglish@gmail.com --- Please attach a +font log.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #14 from Austin English austinenglish@gmail.com --- Also, I can't reproduce this either.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #15 from curaga@operamail.com --- Created attachment 53324 --> https://bugs.winehq.org/attachment.cgi?id=53324 +font log
I don't think it's a duplicate of that bug, since I'm not trying to use a systemwide font, but the one shipped with Wine. Which worked fine in 1.3.0, 1.1.* and 0.9.*.
+font log attached.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #16 from curaga@operamail.com --- Created attachment 53325 --> https://bugs.winehq.org/attachment.cgi?id=53325 +font log from 1.3.0
Here's the +font log from a working version.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #17 from Rosanne DiMesio dimesio@earthlink.net ---
trace:font:init_freetype FreeType version is 2.3.5
That version is 8 years old, and could be the reason why none of us can reproduce the problem. You might want to try upgrading Freetype.
https://bugs.winehq.org/show_bug.cgi?id=39913
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #18 from Sagawa sagawa.aki+winebugs@gmail.com ---
From my point of view, a different font is used instead of Arial in both
systems. Unfortunately for you, default font selection method was changed between 1.3.0 and 1.8.0. Could you try to install MS core fonts, i.e. "winetricks corefonts"?
font log (attachment 53324): trace:font:freetype_SelectFont L"Arial Bold", h=-11, it=0, weight=0, PandF=00, charset=0 orient 0 escapement 0 trace:font:freetype_SelectFont Chosen: L"East Syriac Adiabene" L"Regular" (L"/usr/local/share/fonts/X11-OTF/SyrCOMAdiabene.otf"/(nil):0) : : : trace:font:freetype_SelectFont L"Arial", h=-11, it=0, weight=0, PandF=00, charset=0 orient 0 escapement 0 trace:font:freetype_SelectFont Chosen: L"East Syriac Adiabene" L"Regular" (L"/usr/local/share/fonts/X11-OTF/SyrCOMAdiabene.otf"/(nil):0)
font log from 1.3.0 (attachement 53325): trace:font:WineEngCreateFontInstance L"Arial Bold", h=-11, it=0, weight=0, PandF=00, charset=0 orient 0 escapement 0 trace:font:WineEngCreateFontInstance Chosen: L"Tahoma" L"Regular" (/usr/local/bin/../share/wine/fonts//tahoma.ttf/(nil):0) : : : trace:font:WineEngCreateFontInstance L"Arial", h=-11, it=0, weight=0, PandF=00, charset=0 orient 0 escapement 0 trace:font:WineEngCreateFontInstance Chosen: L"Tahoma" L"Regular" (/usr/local/bin/../share/wine/fonts//tahoma.ttf/(nil):0)
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #19 from curaga@operamail.com ---
That version is 8 years old, and could be the reason why none of us can reproduce the problem. You might want to try upgrading Freetype.
This machine is dedicated to this one game. If I could only find a Wine version where everything works, I'd freeze it altogether. So far every Wine version has some bug or other.
That said, I can try it later, but I doubt it'd fix Wine's font selection problem, it might only fix the rendering issue.
Could you try to install MS core fonts
Sure. Installing the MS fonts made Wine use them, but the app is still broken. I'm attaching both a screenshot and the new font debug log.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #20 from curaga@operamail.com --- Created attachment 53331 --> https://bugs.winehq.org/attachment.cgi?id=53331 +font log from 1.9.0 with MS fonts installed
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #21 from curaga@operamail.com --- Created attachment 53333 --> https://bugs.winehq.org/attachment.cgi?id=53333 Screenshot showing wrong font rendering with 1.9.0 and MS fonts
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #22 from Austin English austinenglish@gmail.com --- (In reply to curaga from comment #19)
That version is 8 years old, and could be the reason why none of us can reproduce the problem. You might want to try upgrading Freetype.
This machine is dedicated to this one game. If I could only find a Wine version where everything works, I'd freeze it altogether. So far every Wine version has some bug or other.
You upgraded from a very old Wine version (1.3.0) to a very modern one, without updating dependencies. It's not Wine's fault if the dependent libraries are out of date.
If you want to freeze things, why not leave Wine at 1.3.0 with Freetype 2.3.5 and call it a day?
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #23 from curaga@operamail.com ---
If you want to freeze things, why not leave Wine at 1.3.0 with Freetype 2.3.5 and call it a day?
Because 1.3.0, as every version before it, had rendering bugs with this app. This rendering bug is fixed in 1.9.0, but now fonts are broken.
https://bugs.winehq.org/show_bug.cgi?id=39913
curaga@operamail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #53303|0 |1 is obsolete| | Attachment #53317|0 |1 is obsolete| | Attachment #53324|0 |1 is obsolete| | Attachment #53325|0 |1 is obsolete| | Attachment #53331|0 |1 is obsolete| | Attachment #53333|0 |1 is obsolete| |
--- Comment #24 from curaga@operamail.com --- Created attachment 53353 --> https://bugs.winehq.org/attachment.cgi?id=53353 +font log with 1.9, MS fonts, and latest freetype
I updated to freetype 2.6.2, the latest, and most font issues are gone. There are two remaining, both not on the main interface.
1) The rotated text in the score dialog (open via F10 or from the menu) is still unreadable. See rotatedtext.png.
2) The tooltip's background color is wrong. Open the tooltip by holding the left mouse button on one of the planet's minerals. See tooltip.png.
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #25 from curaga@operamail.com --- Created attachment 53354 --> https://bugs.winehq.org/attachment.cgi?id=53354 Score dialog showing bad rotated font rendering
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #26 from curaga@operamail.com --- Created attachment 53355 --> https://bugs.winehq.org/attachment.cgi?id=53355 Tooltip background is wrong
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #27 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to curaga from comment #25)
Created attachment 53354 [details] Score dialog showing bad rotated font rendering
This is as bad as in XP, I just tested. So I don't think it is an issue.
(In reply to curaga from comment #26)
Created attachment 53355 [details] Tooltip background is wrong
I can confirm that this is an issue, in XP the background is white while in wine it is grey.
These problems were also present in wine 1.3, right?
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #28 from curaga@operamail.com --- No, the rotated text was readable in both Win 3.11 and Wine 1.3.0. If it's bad in XP, that's Microsoft's fault :P
The tooltip problem was present in Wine 1.3.0, so that one is not a regression.
https://bugs.winehq.org/show_bug.cgi?id=39913
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTOURBUG
--- Comment #29 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to curaga from comment #28)
No, the rotated text was readable in both Win 3.11 and Wine 1.3.0. If it's bad in XP, that's Microsoft's fault :P
The tooltip problem was present in Wine 1.3.0, so that one is not a regression.
Both of those are separate issues from what was originally reported here, and should have separate bugs.
Based on comment 24, the problem was in the old version of Freetype, and has been fixed in newer versions, so marking NOTOURBUG.
https://bugs.winehq.org/show_bug.cgi?id=39913
curaga@operamail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |39940
https://bugs.winehq.org/show_bug.cgi?id=39913
curaga@operamail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |39941
https://bugs.winehq.org/show_bug.cgi?id=39913
--- Comment #30 from curaga@operamail.com --- Thanks, filed 39940 and 39941.
https://bugs.winehq.org/show_bug.cgi?id=39913
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |wylda@volny.cz Blocks|39940, 39941 | Depends on|24061 |
--- Comment #31 from Wylda wylda@volny.cz --- Closing NOTOURBUG status.
Removed: Depend on: Bug 24061 Blocks: Bug 39940 and Bug 39941