Configure Fontconfig to use the lcddefault filter

Bug #271088 reported by Sylvain Pasche on 2008-09-16
8
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
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) on 2008-09-16
Changed in fontconfig:
assignee: nobody → fta
Fabien Tassin (fta) wrote :

Here is the debdiff.

Fabien Tassin (fta) on 2008-09-17
Changed in fontconfig:
assignee: fta → nobody
importance: Low → High
Sebastien Bacher (seb128) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers