After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 554740 - Blurry fonts from xquartz back-end (subpixel rendering problem?)
Blurry fonts from xquartz back-end (subpixel rendering problem?)
Status: RESOLVED NOTGNOME
Product: pango
Classification: Platform
Component: general
1.22.x
Other Mac OS
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2008-10-02 16:57 UTC by Daniel Macks
Modified: 2009-02-25 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot with atsui enabled (21.16 KB, image/png)
2008-10-02 17:00 UTC, Daniel Macks
Details
Screenshot with atsui disabled during build (19.77 KB, image/png)
2008-10-02 17:02 UTC, Daniel Macks
Details
menubar and iconbox from 'meld' (16.44 KB, image/png)
2008-10-06 04:34 UTC, Daniel Macks
Details

Description Daniel Macks 2008-10-02 16:57:59 UTC
When I upgraded my pango from 1.20.5 (built against cairo-1.6.4) to 1.22.0 (built against cairo-1.8.0) under x11 on my OS X 10.4/poewrpc, some of my fonts became "blurry" on screen. It appears that my 1.20.5 build did not have the pango-basic-atsui module (not sure why, don't really care:), so maybe that module is the problem. If I delete that module from my machine running pango 1.20.5, the affected fonts become blank boxes. Further, if I deactivate the xquartz back-end while building 1.20.5 by forcing $have_atsui to be false, I return to having all fonts displayed cleanly. Another Mac user (10.5/intel) reported same results, and said it was related to "subpixel rendering". I completely don't understand font-handling, especially on OS X, but let me know what else I can try to solve or help debug.
Comment 1 Daniel Macks 2008-10-02 17:00:28 UTC
Created attachment 119810 [details]
Screenshot with atsui enabled

Menu-bar is blurry, other fonts look fine. If I delete pango-basic-atsui, all of (and only) the menu-bar text becomes blank squares
Comment 2 Daniel Macks 2008-10-02 17:02:15 UTC
Created attachment 119812 [details]
Screenshot with atsui disabled during build

All fonts (even menu-bar) are clear now
Comment 3 Owen Taylor 2008-10-03 17:08:53 UTC
Font rendering with and without ATSUI will be quite different. What would be uesful to see would be the same text, in the same font, at the same size, rendered in:

 - A native OS X application
 - A GTK+ app (preferrably, not Emacs, which is it's own universe.)

(Getting the size to match may be a little difficult.)
Comment 4 Daniel Macks 2008-10-06 04:34:34 UTC
Created attachment 119996 [details]
menubar and iconbox from 'meld'

Here's a comparison of meld (a pygtk app) output with and without atsui. The prefpane says the font is "GNOME monospace", not sure how to figure out what font that actually is to try it from an Aqua app.
Comment 5 Behdad Esfahbod 2009-01-06 12:19:15 UTC
Very unlikely that this is a pango issue.  Most probably cairo.
Comment 6 Evan Jones 2009-02-25 13:16:28 UTC
I can confirm that I have the same issue. I'm using the pango/cairo/gtk2 stack from MacPorts. Anti-aliasing is enabled, but sub-pixel rendering is not. Any suggestions for what the "real" fix is, or how I may be able to help debug it are welcomed.