Fixed incorrect handling of the surrogate pairs in `GlyphLayout.breakRuns()`.
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). ------------- Commit messages: - tests - fix Changes: https://git.openjdk.org/jfx/pull/2349/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2349&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8394318 Stats: 89 lines in 2 files changed: 72 ins; 3 del; 14 mod Patch: https://git.openjdk.org/jfx/pull/2349.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2349/head:pull/2349 PR: https://git.openjdk.org/jfx/pull/2349
