Is this still problem in 20.04 or newer Ubuntu versions?
** Changed in: metacity (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to metacity in Ubuntu.
https://bugs.launchpad.net/bugs/1780468
Title:
Blurry titlebar font when window is not maximized
Status in metacity package in Ubuntu:
Incomplete
Bug description:
What happens
------------
I've configured Compiz window manager to use gtk-window-decorator so that it
may apply my Metacity theme for the titlebars. With this decorator, I've
noticed that Compiz renders slightly blurry titlebar fonts when a window is not
maximized. Once the window is maximized, sharp fonts are rendered.
When a window is not maximized, the font seems to lack sub-pixel
hinting or anti-aliasing, hence the slightly blurry appearance. I
zoomed in on the font when the window was maximized and observed
bluish lines around the characters. When a window was not maximized,
the zoomed-in characters didn't have the bluish lines.
I've tested and seen that the Marco window manager and the Emerald
decorator (used with Compiz) both render sharp titlebar fonts
regardless of whether a window is maximized or not.
The image in the below link shows the slight difference in font
rendering when Compiz is used with gtk-window-decorator. Firefox's
window was maximized, with sharp text, while VLC's window was not
maximized, with slightly blurry text.
https://i.stack.imgur.com/5BalZ.png
Upon switching to Marco window manager, both texts are sharp.
https://i.stack.imgur.com/9Gzli.png
When the "Compiz with gtk-window-decorator" setup is zoomed-in, blue
lines around the maximized Firefox window titlebar text are visible
(it looks like sub-pixel rendering to me). The blue lines are
completely lacking in the un-maximized VLC window titlebar text.
https://i.stack.imgur.com/XDSAU.png
What I expect to happen
-----------------------
The titlebar font rendering should be sharp for both maximized and
un-maximized windows.
The cause (clip_to_rounded_corners)
-----------------------------------
Upon investigating, I've discovered that Compiz's gtk-window-decorator uses
the libmetacity library. The clip_to_rounded_corners() function in
"meta-theme-metacity.c" is called to draw rounded corners for the un-maximized
windows in my theme. It seems the call to draw rounded corners by cairo_arc()
in that function somehow affects the font rendering. When windows are
maximized, the drawing of rounded corners is not performed, hence the sharp
font rendering.
I rebuilt the libmetacity library with the clip_to_rounded_corners()
call commented out and achieved sharp fonts for un-maximized windows.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: metacity 1:3.28.0-1
ProcVersionSignature: Ubuntu 4.15.0-24.26-generic 4.15.18
Uname: Linux 4.15.0-24-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: MATE
Date: Fri Jul 6 19:52:03 2018
InstallationDate: Installed on 2018-05-06 (61 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64
(20180426)
SourcePackage: metacity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1780468/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp