Bug 142875

Summary: [patch] Bring back subpixel LCD filtering support to graphics/cairo 1.8.8
Product: Ports & Packages Reporter: Ron MacNeil <macro>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Ron MacNeil 2010-01-16 09:10:00 UTC
All subpixel LCD filtering support was removed from cairo in late 2008...

http://cgit.freedesktop.org/cairo/commit/?id=5d887ad5dca5af0f8216830d1b04d08a5aba9bee

..and has never returned.

Fix: 1) Drop attached patch file in /usr/ports/graphics/cairo/files, rebuild,
and reinstall

2) Make sure your print/freetype2 was built WITH_LCD_FILTERING

3) Set your 'lcdfilter' preference as usual in fonts.conf, .Xdefaults,
your GUI config tool, etc.

4) No more pretty rainbows :(

Patch attached with submission follows:
How-To-Repeat: View subpixel antialiased text generated by unpatched cairo-1.8.8 (in
gtk or firefox, for example) and enjoy the pretty rainbows.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-01-16 09:59:58 UTC
Responsible Changed
From-To: freebsd-bugs->gnome

make this a ports PR and assign.
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2010-02-21 17:54:37 UTC
State Changed
From-To: open->closed

This patch looks big. It's going to be hard to keep it maintains in future if 
the cairo changes too much. If they remove then we follow it by use their 
own default tarball.
Comment 3 lists.rick 2010-11-10 03:59:38 UTC
This patch still works with cairo-1.8.10_1,1.
Comment 4 swell.k 2010-11-10 19:31:20 UTC
Let's just wait for cairo 1.10 update which includes it.

  http://cgit.freedesktop.org/cairo/commit/?id=7a023a6