freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Haarmony LCD rendering


From: Jan Alexander Steffens
Subject: Re: [ft-devel] Haarmony LCD rendering
Date: Tue, 29 Aug 2017 09:39:23 +0000

On Wed, Aug 9, 2017 at 3:50 PM Alexei Podtelezhnikov <address@hidden> wrote:
On Wed, Aug 9, 2017 at 6:15 AM, Markus Trippelsdorf <address@hidden> wrote:
> Yes, the fix is already in Chromium, but Firefox needs it, too:
> https://skia.googlesource.com/skia/+/d1f2d15b36f6a6a9d199581b998a7ca924a1f1a8%5E%21/

I strongly suspect that this fix is inadequate. Skia continues to
pre-allocate the buffer too early. The fix just fits the FreeType
buffer in the pre-allocated space. It happens to work for ClearType
because we shrunk our buffer in this case. The default LCD image, on
the other hand, is now a bit larger, so it won't fit in the
pre-allocated space. I do not understand why Skia pre-allocates the
buffer instead of just taking what FreeType returns. That would be a
better fix.

It is indeed inadequate. I just tested a patched Firefox Nightly against FreeType master, with old and new LCD rendering. Old looks fine but Harmony still has some chopped glyphs.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]