On Fri, 24 Feb 2023 18:48:20 GMT, Phil Race <p...@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

Reply via email to