[cairo-bugs] [Bug 10301] LCD filtering patch

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 3 17:24:41 PDT 2008


Nicolaus L Hepler <nlhepler at gmail.com> changed:

           What    |Removed                     |Added
  Attachment #19349|0                           |1
        is obsolete|                            |

--- Comment #64 from belshazzar at gmx.net  2008-10-03 06:25:44 PST ---
(In reply to comment #61)
> (In reply to comment #60)
> I'm interested in replying to more of what you've written, but first I wanted
> to point out that I can't get your comparison page to work. (Nothing changes
> when I move the mouse on and off the images. I can right-click and do "open
> image" and then I will get a different image, but I can't even do that for both
> images for switching back and forth between two tabs.)

Ja, let me say ›oops‹. In a rush to get it out the door I neglected to test
with Firefox. It seems I followed the wrong mouseover tutorial. Should work

But I’ve figured I must also add an example of large display type, so you get
added value now.

> PS. And I'm delighted to see so much commentary with the images. So often in
> the past I've seen people trying to advocate for these patches with things like
> "look at these two images! Obviously you see why I want this patch", and then
> I'm just lost as to which is supposed to look better or why, etc.

There’s certainly an inherent danger in pointing to screenshots and shouting:
»See? See? It’s so much better!« because that’s not necessarily true for
everybody. Someone might just have gotten new, sharp spectacles, or she is
myopic and sits 20cm from the screen — loupe effect!.  Or someone’s screen
is really low-res, rotated to portrait, or whatnot.

The point here is that configurability is a necessity due to taste differences.
So with the patch we can have GRAY, LEGACY, FIR3 and FIR5. Importantly the FIR
filters are the most versatile and robust. They work well across the board,
LEGACY doesn’t. Thus they are the best candidates for the LCD_FILTER_DEFAULT

A future font appearance configuration panel should offer more options to tweak
this. But it should probably only make sensible combinations possible. That is,
if native TrueType instructions are enabled then LEGACY or monochrome make
sense. If slight hinting is enabled, then FIRx and GRAY make sense.

--- Comment #65 from Nicolaus L Hepler <nlhepler at gmail.com>  2008-10-03 17:24:36 PST ---
Created an attachment (id=19362)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=19362)
Fallback to cairo lcd filtering if freetype cannot.


This is my second attempt, minus several "paper bag" sort of incidents.
I've compiled, tested, and am using this version now, switching between +/-
lcd-filtering versions of freetype freely and having cairo lcd filter in all
cases (although preferring freetype filtering when available).

Hope this helps!


Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list