On Thu, 15 Jul 2021 17:29:01 GMT, Nikita Gubarkov 
<github.com+9004656+y...@openjdk.org> wrote:

> It was implemented in JetBrains Runtime a year ago and was ported & 
> refactored for this PR
> It includes:
> - Bitmap glyph loading via Freetype
> - Manual scaling & transformation of bitmap glyphs with nearest-neighbor or 
> bilinear-mipmap style algorithms depending on the text antialiasing hint
> - Storing BGRA glyphs in glyph cache & rendering them as plain images, as 
> currently used XRender text drawing functions doesn't support colored glyphs
> - Small fixes in related code like null-checks which could cause NPE & 
> comment typos

In addition I think the test is a bit flaky
"Noto Color Emoji" *may not* be available on all Linuxes and for whatever 
reason your update makes the test fail on Mac.
test result: Error. can't find Emoji in test directory or libraries

So lots to do here before I look again.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4798

Reply via email to