Discussion:
[cairo] Cairo text rendering with ANTIALIAS_BEST is broken with 1.15.10 and freetype 2.9
Alexandre Bique
2018-01-26 11:18:12 UTC
Permalink
Hi,

I've been investigating some font rendering issues in Bitwig Studio.

While trying to reproduce a test case where showing the string "222" would
clip the 2 by one pixel on the top, and showing "222h" would not because
the h is higher and I believe that the text extents were used somewhere...

Anyway I've found something even worse on the way: ANTIALIAS_BEST renders
totally unreadable text in some conditions where the other anti aliasing
algorithms are working.

From the bugzilla, this issue seems to be known for at least one year:
https://bugs.freedesktop.org/show_bug.cgi?id=99021

I've attached a test case to it, so it will be very easy for you to
reproduce the bug and fix it.

Good luck!

Regards,
--
Alexandre Bique
Loading...