http://bugs.winehq.org/show_bug.cgi?id=23006
Summary: no way to disable font smoothing Product: Wine Version: 1.2-rc1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: s.zuban@gmail.com
Starting from 1.2-rc1 fonts smoothing enabled by default, but I wasn't able to disable it even after setting the following:
[CURRENT_USER\Control Panel\Desktop] FontSmoothing=0 FontSmoothingType=0
I was able to disable smoothing by commenting this in /etc/fonts/local.conf
<match target="font"> <edit name="rgba" mode="assign"> <const>rgb</const> </edit> </match>
But starting from 1.2-rc2 even this trick doesn't allow to disable smoothing.
http://bugs.winehq.org/show_bug.cgi?id=23006
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2010-06-02 04:40:21 --- The Xft settings take precedence now, that's where you need to disable it.
http://bugs.winehq.org/show_bug.cgi?id=23006
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Severity|normal |trivial
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2010-06-02 04:59:01 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=23006
Sergiy Zuban s.zuban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from Sergiy Zuban s.zuban@gmail.com 2010-06-02 06:36:33 --- anyway it looks like wine completely ignores Xft/fontconfig settings. For example, even after disabling smoothing in /etc/fonts/local.conf wine still uses smoothing.
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig>
<match target="font"> <edit name="antialias" mode="assign"> <bool>false</bool> </edit> </match>
</fontconfig>
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2010-06-02 07:07:17 --- Xft overrides the fontconfig settings. What do you have in your Xft resources?
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #5 from Sergiy Zuban s.zuban@gmail.com 2010-06-02 08:59:57 --- On ubuntu 10.04 I don't have ~/.Xresources at all and have only /etc/X11/Xresources/x11-common that looks pretty simple:
! load color-specific resources for clients that have them #ifdef COLOR *customization: -color #endif
I've never worked with Xft resource configuration before, but I don't think fontconfig settings overwritten. In any case I don't understand why /etc/fonts/local.conf settings works fine for GNOME/KDE and any application, but doesn't work for wine apps.
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2010-06-02 09:03:23 --- Please get a +xrender trace.
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #7 from Sergiy Zuban s.zuban@gmail.com 2010-06-02 09:38:38 --- could you please be more specific how to get requested trace?
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2010-06-02 09:50:09 --- Please have a look here: http://wiki.winehq.org/FAQ#head-16da35b6327024d6ea576e3678488b16862d0f5e
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #9 from Sergiy Zuban s.zuban@gmail.com 2010-06-02 10:06:13 --- Created an attachment (id=28518) --> (http://bugs.winehq.org/attachment.cgi?id=28518) WINEDEBUG=+xrender wine miranda32.exe &> xrender.log
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2010-06-02 10:42:34 ---
trace:xrender:GetCacheEntry Xft resource returned rgba 'rgb' antialias 1
You do have Xft resources defined.
http://bugs.winehq.org/show_bug.cgi?id=23006
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2010-06-02 22:24:06 --- Invalid then.
http://bugs.winehq.org/show_bug.cgi?id=23006
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2010-06-02 22:24:17 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=23006
Sergiy Zuban s.zuban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #13 from Sergiy Zuban s.zuban@gmail.com 2010-06-14 05:51:24 --- after deeper investigation I made conclusion that gnome-settings-daemon adds some Xft resources on start and wine treat those settings as higher priority (compared to fontconfig setttings). Here is what I found in gconf-editor, key /desktop/gnome/font_rendering/antialiasing:
The type of antialiasing to use when rendering fonts. Possible values are: "none" for no antialiasing, "grayscale" for standard grayscale antialiasing, and "rgba" for subpixel antialiasing (LCD screens only).
There is no way to delete this option, no way to avoid setting Xft resources. Thus all fontconfig settings simply ignored. IT'S NOT CORRECT BEHAVIOR.
Let me give you several examples where fontconfig settings has higher priority on Xft resources:
* GNOME/KDE allows to disable antialiasing on fontconfig level even if it's allowed globally.
* Mozilla apps (Firefox, Thunderbird) uses fontconfig's smoothing settings even if smoothing disabled globally by Xft resources.
* Qt apps
I'm not familiar with KDE, but I assume there is some kind of gnome-settings-daemon that initializes Xft resources on startup, because this issue occurs not only under GNOME, but under KDE as well.
http://bugs.winehq.org/show_bug.cgi?id=23006
--- Comment #14 from Sergiy Zuban s.zuban@gmail.com 2010-06-21 06:47:44 --- still not fixed in 1.2-rc4
http://bugs.winehq.org/show_bug.cgi?id=23006
Sergiy Zuban s.zuban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|no way to disable font |no way to disable font |smoothing |smoothing on fontconfig | |level
http://bugs.winehq.org/show_bug.cgi?id=23006
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #15 from Alexey Loukianov mooroon2@mail.ru 2010-06-22 02:44:35 --- You might look at bug #23114 and bug #23097 - both are closely related to the one reported by you. Root cause of this new behavior (which I consider to be _regression_) is the fix for the bug #17148.
http://bugs.winehq.org/show_bug.cgi?id=23006
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #16 from Alexey Loukianov mooroon2@mail.ru 2010-06-22 02:45:06 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=23006
da_fox@mad.scientist.com da_fox@mad.scientist.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |da_fox@mad.scientist.com
--- Comment #17 from da_fox@mad.scientist.com da_fox@mad.scientist.com 2010-06-29 06:47:08 --- still not fixed in 1.2-rc5
http://bugs.winehq.org/show_bug.cgi?id=23006
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2010-06-29 10:28:59 --- Fixed by 4d9a31177113f53407595f055ea3dbdc6df6bcf9.
http://bugs.winehq.org/show_bug.cgi?id=23006
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2010-07-02 12:35:15 --- Closing bugs fixed in 1.2-rc6.