On Thu, 6 Apr 2023 20:00:01 GMT, Phil Race <p...@openjdk.org> wrote:

> This fixes a problem with mixing Emoji and regular text in Webview.
> The Prism implementation expects that Emoji will not be in the same call to 
> drawString as regular glyphs,
> since they need very different handling.
> This fix breaks up the runs webview hands to Prism.
> The test program in the bug report now renders properly (which it never did 
> before in any release)

The G2D implementation of OpenJDK would be helpful in solving this problem.

https://github.com/openjdk/jdk/blob/0db63ec76d451295e273c8e3272d013e2c3348ef/src/java.desktop/share/classes/sun/java2d/pipe/GlyphListLoopPipe.java#L41-L59

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

PR Comment: https://git.openjdk.org/jfx/pull/1083#issuecomment-1605528349

Reply via email to