Cairo text rendering with ANTIALIAS_BEST is broken with 1.15.10 and freetype 2.9
Alexandre Bique <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAP737oKQ9StvsJVHxMFgNbRA0vAwcvY0DbdT+9NyKHRwO1yang@mail.gmail.com> |
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 -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo