When the following string is pasted into TextArea with the wrapping enabled, some wrap widths produce broken clusters - see the screenshots.
"បានស្នើសុំនៅតែត្រូវបានបដិសេធ" (according to Google translate, this means "Requested but still denied").
same as in https://bugs.openjdk.org/browse/JDK-8361381
\u1794\u17b6\u1793\u179f\u17d2\u1793\u17be\u179f\u17bb\u17c6\u1793\u17c5\u178f\u17c2\u178f\u17d2\u179a\u17bc\u179c\u1794\u17b6\u1793\u1794\u178a\u17b7\u179f\u17c1\u1792
(can be reproduced in the latest monkey tester https://github.com/andy-goryachev-oracle/MonkeyTest or the attached SCCE, on macOS 15.6, I did not test other platforms)
"បានស្នើសុំនៅតែត្រូវបានបដិសេធ" (according to Google translate, this means "Requested but still denied").
same as in https://bugs.openjdk.org/browse/JDK-8361381
\u1794\u17b6\u1793\u179f\u17d2\u1793\u17be\u179f\u17bb\u17c6\u1793\u17c5\u178f\u17c2\u178f\u17d2\u179a\u17bc\u179c\u1794\u17b6\u1793\u1794\u178a\u17b7\u179f\u17c1\u1792
(can be reproduced in the latest monkey tester https://github.com/andy-goryachev-oracle/MonkeyTest or the attached SCCE, on macOS 15.6, I did not test other platforms)
- relates to
-
JDK-8327260 Labeled: Truncation Fails With Grapheme Clusters
-
- Open
-
-
JDK-8309565 [Text] Enhance support for user-perceived characters (grapheme clusters)
-
- Open
-
-
JDK-8361381 GlyphLayout behavior differs on JDK 11+ compared to JDK 8
-
- Open
-