Bug 4302

Summary: Font rendering is not identical to Xft (more blurry)
Product: cairo Reporter: Frederic Crozat <fred>
Component: freetype font backendAssignee: Owen Taylor <otaylor>
Status: RESOLVED NOTOURBUG QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.0.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: comparison with slight hinting
FreeType patch fixing problem

Description Frederic Crozat 2005-08-30 03:12:21 UTC
Comparison between font rendering of Gtk+ 2.6.x and Gtk+ 2.8.x shows a
regression in font rendering, cairo rendering being much more "blurry" than Xft
rendering, when hinting is not set to None.

Screenshot attached.

Tests have been done with the exact same version of Freetype2 (2.1.10), same
resolution and same dpi resolution.

Font used is Bitstream Vera Sans 10.

This problem is extremely visible with subpixel rendering, make it hardly usable .
Comment 1 Frederic Crozat 2005-08-30 03:13:37 UTC
Created attachment 3108 [details]
comparison with slight hinting

similar result can be obtained when using Full hinting.
Comment 2 Frederic Crozat 2005-08-30 05:45:06 UTC
other screenshots are available on http://people.mandriva.com/~fcrozat/cairo/
Comment 3 Owen Taylor 2005-08-30 12:09:33 UTC
Created attachment 3125 [details] [review]
FreeType patch fixing problem

I have no clue how it could be working with Xft. Here's a FreeType
patch that fixes the problem....
Comment 4 Frederic Crozat 2005-08-30 13:08:11 UTC
I guess Keith has put a spell in Xft causing it to always render correctly.

Thanks a lot Owen, your patch fixes the issue. Subpixel rendering is now usable..
Comment 5 Owen Taylor 2005-08-30 16:10:03 UTC
Going to resolve this NOTOURBUG.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.