Bug 142875 - [patch] Bring back subpixel LCD filtering support to graphics/cairo 1.8.8
Summary: [patch] Bring back subpixel LCD filtering support to graphics/cairo 1.8.8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 09:10 UTC by Ron MacNeil
Modified: 2010-11-10 19:40 UTC (History)
0 users

See Also:


Attachments
file.diff (29.98 KB, patch)
2010-01-16 09:10 UTC, Ron MacNeil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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