RFR: 8290866: Apple Color Emoji turns gray after JavaFX version 18
Andy Goryachev
angorya at openjdk.org
Fri Feb 24 19:01:23 UTC 2023
On Fri, 24 Feb 2023 18:48:20 GMT, Phil Race <prr at openjdk.org> wrote:
> So I suspect something specific to what you are doing in your test .. not a general emoji problem.
or specific to my Mac Ventura 13.1. In my test, i am setting the font explicitly. A simpler test clips the flag symbols on both retina and the external monitor:
<img width="456" alt="Screenshot 2023-02-24 at 10 56 44" src="https://user-images.githubusercontent.com/107069028/221267654-c43b416d-53ae-4c5d-85c3-82baaaeb77ef.png">
public class TextAreaApp extends Application {
public static void main(String[] args) {
Application.launch(TextAreaApp.class, args);
}
@Override
public void start(Stage stage) throws Exception {
String text =
"[🇺🇦❤️🏁🇺🇸🔥🦋\n😀 😃 😄 😁 😆 😅 🤣 😂\n🙂 🙃 😉 😊 😇]";
//"A regular Arabic verb, كَتَبَ kataba (to write).");
//t.setFont(new Font("Noto Sans Arabic Regular", 12));
TextArea control = new TextArea(text);
stage.setScene(new Scene(control));
stage.setTitle(getClass().getSimpleName() + " " + System.getProperty("java.version"));
stage.setWidth(800);
stage.setHeight(500);
stage.show();
}
}
-------------
PR: https://git.openjdk.org/jfx/pull/1047
More information about the openjfx-dev
mailing list