Configure Fontconfig to use the lcddefault filter

Bug #271088 reported by Sylvain Pasche
8
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: fontconfig

I'm writing this bug as a consequence of bug 264254 comment 17.

Some background: Debian/Ubuntu have from some time patched Cairo with a patch from David Turner in order to use the lcd filtering algorithms from Freetype, which looks better for some people and configurations.

That patch has been merged to upstream recently (http://bugs.freedesktop.org/show_bug.cgi?id=10301) and Debian patch has been removed. However, there is a change between the old Debian patch and the upstream Cairo merge: the default lcd filter used by Debian was lcddefault, while the default one in Cairo is lcdlegacy (this is done in order to keep the same behavior as before).

In order to prevent the regression, I propose to include a configuration file in Ubuntu's Fontconfig which sets the lcd filter to lcddefault. That should be similar to the 10-autohint.conf configuration file, but with configuration:
  <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>

Related branches

Changed in fontconfig:
importance: Undecided → Low
milestone: none → intrepid-alpha-6
status: New → Confirmed
Fabien Tassin (fta)
Changed in fontconfig:
assignee: nobody → fta
Revision history for this message
Fabien Tassin (fta) wrote :

Here is the debdiff.

Fabien Tassin (fta)
Changed in fontconfig:
assignee: fta → nobody
importance: Low → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for the update, I've sponsored the upload now

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fontconfig - 2.6.0-1ubuntu4

---------------
fontconfig (2.6.0-1ubuntu4) intrepid; urgency=low

  * add debian/patches/06_ubuntu_lcddefault.patch: set lcddefault as
    default for the lcd-filter now that Cairo prefers lcdlegacy. This
    is needed to restore our previous behavior. Thanks to Sylvain Pasche.
    (LP: #271088, #264254)

 -- Fabien Tassin <email address hidden> Wed, 17 Sep 2008 00:40:14 +0200

Changed in fontconfig:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.