http://bugs.winehq.org/show_bug.cgi?id=29240
Bug #: 29240 Summary: Anti-aliasing not working for all fonts Product: Wine Version: 1.3.34 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: fonts AssignedTo: wine-bugs@winehq.org ReportedBy: A.Fettouhi@gmail.com Classification: Unclassified
Yesterday I updated wine on my Arch 64 bit system from 1.3.33 to 1.3.34. Since then I've noticed that some now aren't anti-aliased anymore. I've seen it in Steam when looking at the fonts displaying "MAC", "VIDEOS" etc. on the main page and on the install pop-up that appears when you install flash11. These fonts looked fine on 1.3.33 but with 1.3.34 they look "ugly". So some kind of regression happended.
http://bugs.winehq.org/show_bug.cgi?id=29240
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
http://bugs.winehq.org/show_bug.cgi?id=29240
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Component|fonts |-unknown Severity|trivial |minor
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-04 07:44:49 CST --- Please post the results of your regression testing: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=29240
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lapommegolden@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29240
rui1965@voila.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rui1965@voila.fr
--- Comment #2 from rui1965@voila.fr 2011-12-06 06:41:14 CST --- The lack of antialiasing is visible also in Word 2007, only in the text zone and only for a font size smaller than 14. The result of the bisect is :
4ce3af3fad1dfacfe39a441054586707f848038f is the first bad commit commit 4ce3af3fad1dfacfe39a441054586707f848038f Author: Huw Davies huw@codeweavers.com Date: Fri Dec 2 14:11:51 2011 +0000
gdi32: Add support for checking the font's gasp flags.
:040000 040000 0db60705b827409f5c0f4de01d9ed2a39fee0135 5aa98c186b14b0144a6aa0edbdf1e0fd06a08dea M dlls
By removing the changes done by this fix in 1.3.34 file dlls/gdi32/font.c, the antialiasing works fine again.
http://bugs.winehq.org/show_bug.cgi?id=29240
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huw@codeweavers.com Regression SHA1| |4ce3af3fad1dfacfe39a4410545 | |86707f848038f
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #3 from rui1965@voila.fr 2011-12-08 09:58:04 CST --- The antiliasing does not start at the same size for all the fonts: . Font 'DejaVu Sans' : antialised for all font sizes. . Font 'Consolas' : antialised for all font sizes. . Font 'Arial' : antialised for font sizes bigger than 13. . Font 'Tahoma' : antialised for font sizes bigger than 11. . Font 'Verdana' : antialised for font sizes bigger than 11. . Font 'Times New Roman' : antialised for font sizes bigger than 13.
A quick test shows that in font.c, after the call of get_gasp_flags( hdc, &gasp_flags ): . When the antialiasing is not done: GGO_BITMAP, gasp_flags=0x0001 . When the antialiasing is done: GGO_GRAY4_BITMAP, gasp_flags=0x0003 or 0x0007. Antialiasing seems to depend on the font data retrieved by GetFontData.
I have also tried with wordpad but it does not go through the same code path (get_font_aa_flags, ...).
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #4 from Huw Davies huw@codeweavers.com 2012-01-16 06:48:06 CST --- (In reply to comment #3)
The antiliasing does not start at the same size for all the fonts: . Font 'DejaVu Sans' : antialised for all font sizes. . Font 'Consolas' : antialised for all font sizes. . Font 'Arial' : antialised for font sizes bigger than 13. . Font 'Tahoma' : antialised for font sizes bigger than 11. . Font 'Verdana' : antialised for font sizes bigger than 11. . Font 'Times New Roman' : antialised for font sizes bigger than 13.
A quick test shows that in font.c, after the call of get_gasp_flags( hdc, &gasp_flags ): . When the antialiasing is not done: GGO_BITMAP, gasp_flags=0x0001 . When the antialiasing is done: GGO_GRAY4_BITMAP, gasp_flags=0x0003 or 0x0007. Antialiasing seems to depend on the font data retrieved by GetFontData.
Yes, this is correct. The gasp table in the ttf recommends minimum sizes below which we should not antialias.
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #5 from fracting fracting@gmail.com 2012-01-17 04:16:31 CST --- Created attachment 38392 --> http://bugs.winehq.org/attachment.cgi?id=38392 Screenshot: Google Chrome anti-aliasing not work for Chinese
Using Wine Google Chrome to open https://mybank.icbc.com.cn, the Chinese font is ugly
http://bugs.winehq.org/show_bug.cgi?id=29240
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #6 from fracting fracting@gmail.com 2012-01-17 05:15:18 CST --- (In reply to comment #5)
Created attachment 38392 [details] Screenshot: Google Chrome anti-aliasing not work for Chinese
Using Wine Google Chrome to open https://mybank.icbc.com.cn, the Chinese font is ugly
Affects Wine Google Chrome, works in 225de02a292e273dbfbf4a586fa7d6f580ea55ed but broken in 4ce3af3fad1dfacfe39a441054586707f848038f .
Attached a broken screenshot.
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #7 from André Fettouhi A.Fettouhi@gmail.com 2012-03-31 09:24:53 CDT --- Anti aliasing is also broken for certains fonts in swtor. You can see it in the login panel. Tested on wine 1.5.0 and 1.5.1.
http://bugs.winehq.org/show_bug.cgi?id=29240
Ma Xiaojun damage3025@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damage3025@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #8 from konchog.rangdrol@gmail.com 2012-05-25 05:29:33 CDT --- Created attachment 40283 --> http://bugs.winehq.org/attachment.cgi?id=40283 Anti-alias not working on MS Word
http://bugs.winehq.org/show_bug.cgi?id=29240
konchog.rangdrol@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |konchog.rangdrol@gmail.com
--- Comment #9 from konchog.rangdrol@gmail.com 2012-05-25 05:35:51 CDT --- I can confirm the anti-aliasing regression on Word 2007 for me as well. Running Wine 1.4 on Ubuntu 12.04. I need to be able to work with Tibetan fonts. Unfortunately, at a normal size they look like garbage. It is not just cosmetic; the fonts are very hard to read. To get anti-aliasing working, I have to either increase the font size or zoom in until the fonts are far too large to work with.
http://bugs.winehq.org/show_bug.cgi?id=29240
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #10 from GyB gyebro69@gmail.com 2012-10-04 08:44:28 CDT --- *** Bug 31840 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #11 from Qian Hong fracting@gmail.com 2012-11-12 12:41:04 CST --- This bug seems fixed in Wine 1.5.17, I retest Wine Google Chrome and it doesn't affected.
Could people affected by this bug retest your app with recent Wine and report again?
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #12 from André Fettouhi A.Fettouhi@gmail.com 2012-11-12 12:46:33 CST --- I retested Steam with wine 1.5.17 and most of the text seems to be anti-aliased now. But there are still parts with ugly fonts. When you run Steam in a fresh wine prefix then you will see that the text with the license agreement you have to accept at the first login isn't anti-aliased. Same goes for all prices on steam that font isn't anti-aliased either with 1.5.17. So this ISN'T fixed yet.
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #13 from André Fettouhi A.Fettouhi@gmail.com 2012-11-13 02:52:39 CST --- Just a short note I wanted to add. If I turn off font smoothing via winetricks in my prefix with Steam, then all fonts are nice and smooth as they were before 1.3.34. I forgot to do that when wrote my comment before.
http://bugs.winehq.org/show_bug.cgi?id=29240
Brandon Corujo haku08879@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haku08879@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29240
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29240
Marco marc.chappellier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marc.chappellier@gmail.com
--- Comment #14 from Marco marc.chappellier@gmail.com 2013-01-15 05:14:57 CST --- Hi
I am using Wine 1.5.18 on Fedora 17 64bits.
Font are not antialiased at all even when applying the winetrick patch.
I tested even the Wine 1.5.2 on Fedora 17 64bits and the behavior is the same.
My working env is KDE and all fonts are antialiased properly in the rest of the system.
I can provide debug informations if needed, can you help ?
Regards Marco
http://bugs.winehq.org/show_bug.cgi?id=29240
unxed unxed@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |unxed@mail.ru
--- Comment #15 from unxed unxed@mail.ru 2013-01-28 06:32:22 CST --- Duplicate of http://bugs.winehq.org/show_bug.cgi?id=29250 ?
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #16 from unxed unxed@mail.ru 2013-01-28 06:39:01 CST --- Or maybe duplicate of http://bugs.winehq.org/show_bug.cgi?id=31067 ?
http://bugs.winehq.org/show_bug.cgi?id=29240
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chengyi.liang@sohu.com
--- Comment #17 from Qian Hong fracting@gmail.com 2013-03-18 20:58:01 CDT --- *** Bug 30084 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=29240
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |imwellcushtymelike@gmail.co | |m Component|-unknown |gdi32 Ever confirmed|0 |1
--- Comment #18 from Ken Sharp imwellcushtymelike@gmail.com --- Confirming in wine-1.7.11-272-gc7a11f9 with RebelBetting 14 Help, although I fear this may have become a meta-bug.
http://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #19 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 47440 --> http://bugs.winehq.org/attachment.cgi?id=47440 wine-1.7.11-272-gc7a11f9 console output (RebelBetting 14)
https://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #20 from Dmitry Timoshkov dmitry@baikal.ru --- I'd say that this behaviour is intentional and basically a WONTFIX.
https://bugs.winehq.org/show_bug.cgi?id=29240
Ma Hsiao-chun damage3025@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|damage3025@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=29240
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #21 from winetest@luukku.com --- (In reply to Dmitry Timoshkov from comment #20)
I'd say that this behaviour is intentional and basically a WONTFIX.
https://bugs.winehq.org/show_bug.cgi?id=29240
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #22 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur in current wine(3.21)?
https://bugs.winehq.org/show_bug.cgi?id=29240
--- Comment #23 from Artem S. Tashkinov aros@gmx.com --- (In reply to joaopa from comment #22)
Does the bug still occur in current wine(3.21)?
Occurs even in Wine 4.10 on Fedora 30.
No fonts are antialiased.
I also filed a similar bug report, bug 46438 - it might be a duplicate of this one.
https://bugs.winehq.org/show_bug.cgi?id=29240
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX CC| |huw.davies@physics.ox.ac.uk Status|NEW |RESOLVED
--- Comment #24 from Huw Davies huw.davies@physics.ox.ac.uk --- We follow the hints in the gasp table, so smaller fonts may not be anti-aliased. This is the correct behaviour.
https://bugs.winehq.org/show_bug.cgi?id=29240
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #25 from Gijs Vermeulen gijsvrm@gmail.com --- Closing WONTFIX.