On Wed, Aug 9, 2017 at 3:50 PM Alexei Podtelezhnikov <apodt...@gmail.com>
wrote:

> On Wed, Aug 9, 2017 at 6:15 AM, Markus Trippelsdorf <
> mar...@trippelsdorf.de> 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.
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to