The issue surfaced during code review https://github.com/openjdk/jfx/pull/1735
Certain Arabic diacritic marks are not rendered at the right position in JavaFX (compare with Swing JTextField/JTextArea and MS Word).
The issue is present in both RTL and LTR node orientation.
The same font is MS Word renders the marks correctly.
The text used for testing is السَّلَامُ عَلَيْكُمْ
\u0627\u0644\u0633\u0651\u064e\u0644\u064e\u0627\u0645\u064f \u0639\u064e\u0644\u064e\u064a\u0652\u0643\u064f\u0645\u0652
(one can use the Monkey Tester Tools -> JTextArea/JTextField Embedded in SwingNode and Tools -> Native to ASCII tools for testing)
Certain Arabic diacritic marks are not rendered at the right position in JavaFX (compare with Swing JTextField/JTextArea and MS Word).
The issue is present in both RTL and LTR node orientation.
The same font is MS Word renders the marks correctly.
The text used for testing is السَّلَامُ عَلَيْكُمْ
\u0627\u0644\u0633\u0651\u064e\u0644\u064e\u0627\u0645\u064f \u0639\u064e\u0644\u064e\u064a\u0652\u0643\u064f\u0645\u0652
(one can use the Monkey Tester Tools -> JTextArea/JTextField Embedded in SwingNode and Tools -> Native to ASCII tools for testing)