On Mon, 19 Oct 2026 15:17:31 GMT, Andy Goryachev <[email protected]> wrote:

> Fixed incorrect handling of the surrogate pairs in `GlyphLayout.breakRuns()`.
> 
> The original code erroneously split surrogate pairs when breaking the runs, 
> which resulted in malformed strings passed onto the platform glyph layout 
> code.
> 
> Reviewers: @prrace @Ziad-Mid 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: d0e72f9d
Author:    Andy Goryachev <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/d0e72f9d86d279d74144a7c729e1171e306a08df
Stats:     86 lines in 2 files changed: 70 ins; 3 del; 13 mod

8394318: Weird characters appear in TextArea with surrogates

Reviewed-by: mhanl, kcr

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

PR: https://git.openjdk.org/jfx/pull/2349

Reply via email to