~azzar1/unity/dont-focus-me-on-mouse-down2

Viewing all changes in revision 1800.

  • Committer: Tarmac
  • Author(s): Andrey.Logvinov.81 at gmail
  • Date: 2012-01-02 11:34:41 UTC
  • mfrom: (1768.1.2 unity)
  • Revision ID: tarmac-20120102113441-3b1z8nf4vx0ejjic
This is a fix for https://bugs.launchpad.net/unity/+bug/873765
The problem was that when no RGBA antialiasing was set for "gtk-xft-rgba", unity shell assumed that no font antialiasing should be used at all, even if grayscale antialiasing is selected by user e.g. in gnome-tweak-tool. This resulted in non-antialiased text in unity panel, launcher and lenses even though text in windows is properly grayscale antialiased.
I added further check for "gtk-xft-antialias" value in case when "gtk-xft-rgba" is "none". If "gtk-xft-antialias" is true, then set antialiasing to CAIRO_ANTIALIAS_GRAY instead of CAIRO_ANTIALIAS_NONE.. Fixes: https://bugs.launchpad.net/bugs/873765. Appoved by Marco Trevisan (Treviño).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: