RFR: 8304831: TextFlow.hitTest.insertionIndex incorrect with surrogate pairs [v6]
Andy Goryachev
angorya at openjdk.org
Fri May 19 15:44:57 UTC 2023
On Fri, 19 May 2023 11:28:10 GMT, Karthik P K <kpk at openjdk.org> wrote:
> value 10084
This character is a U+FE0F Variation Selector-16
https://codepoints.net/U+FE0F?lang=en
> This codepoint may change the appearance of the preceding character. If that is a symbol, dingbat or emoji, U+FE0F forces it to be rendered as a colorful image as compared to a monochrome text variant.
I suspect the expected behavior is not supported by JavaFX along with emoji modifier sequences (@prrace please confirm) - I see TextArea and TextFlowSurrogatePairInsertionIndexTest both render "\u2764\ufe0f" sequence as a back heart, while Eclipse renders it correctly as a red heart.
For the purposes of this test, we could remove this sequence from the test, I think.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1091#issuecomment-1554770466
More information about the openjfx-dev
mailing list