Skip to content

Unicode Atom ist positioned differently in jPro #203

@KniKnaKnorke

Description

@KniKnaKnorke

Hi,

when I put the Unicode character ⚛ (U+269B) into a label, its vertical position differs compared to native JavaFX.

The images below show the Unicode character and a normal character in a JavaFX stage running on Windows.

Image

The following images show the same Unicode character and a normal character rendered in Chrome on Windows using JPro.

Image

Thats my Code
`

    Label label1 = new Label("\u269B");

    label1.setStyle("-fx-border-color: red; -fx-font-size:25;");

    Label label2 = new Label("T");

    label2.setStyle("-fx-border-color: red; -fx-font-size:25;");

    HBox vBox = new HBox(label1, label2);

    primaryStage.setScene(new Scene(vBox));

    primaryStage.show();

`
Greetings,
Dennis from ableX GmbH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions