RFR: 8269806: Emoji rendering on Linux [v16]

Phil Race prr at openjdk.org
Fri Dec 16 18:38:52 UTC 2022


On Thu, 1 Dec 2022 19:38:44 GMT, Nikita Gubarkov <duke at 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
>
> Nikita Gubarkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix pointer to jlong conversion on x86

src/java.desktop/share/native/libfreetype/src/base/ftcolor.c line 9:

> 7:  * Copyright (C) 2018-2022 by
> 8:  * David Turner, Robert Wilhelm, and Werner Lemberg.
> 9:  *

Per the above copyright appears neither you nor JetBrains have ownership of this file.
Therefore per the OCA you cannot contribute this file to OpenJDK.
If it is really needed, then as a pre-cursor step, it will need to be integrated as a 3rd party file as part of the freetype 3rd party library sources, and that will have to be done by an Oracle employee.

This is a blocker for moving forward.

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

PR: https://git.openjdk.org/jdk/pull/4798



More information about the client-libs-dev mailing list