Details
-
Bug
-
Resolution: Fixed
-
P3
-
jfx18
Description
ADDITIONAL SYSTEM INFORMATION :
OS: MacOS 12.4
JDK: openjdk version "11.0.13" 2021-10-19 LTS
A DESCRIPTION OF THE PROBLEM :
Apple Color Emoji do not has color after JavaFX 18, JavaFX 17.0.* and before works well.
I did some tests, the following commit trigger this problem:
8236689: macOS 10.15 Catalina: LCD text renders badly
The emojis become colorful again when revert this commit.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile the source code and run, a window having a emojis text label will display.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The emojis show with color.
ACTUAL -
Emojis is gray, with no color.
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.text.Font;
import javafx.stage.Stage;
public class Test extends Application {
@Override
public void start(Stage stage) {
Label label = new Label("πΆπ₯π");
label.setFont(new Font(30));
Scene scene = new Scene(label);
stage.setWidth(400);
stage.setHeight(100);
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
FREQUENCY : always
OS: MacOS 12.4
JDK: openjdk version "11.0.13" 2021-10-19 LTS
A DESCRIPTION OF THE PROBLEM :
Apple Color Emoji do not has color after JavaFX 18, JavaFX 17.0.* and before works well.
I did some tests, the following commit trigger this problem:
8236689: macOS 10.15 Catalina: LCD text renders badly
The emojis become colorful again when revert this commit.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile the source code and run, a window having a emojis text label will display.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The emojis show with color.
ACTUAL -
Emojis is gray, with no color.
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.text.Font;
import javafx.stage.Stage;
public class Test extends Application {
@Override
public void start(Stage stage) {
Label label = new Label("πΆπ₯π");
label.setFont(new Font(30));
Scene scene = new Scene(label);
stage.setWidth(400);
stage.setHeight(100);
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
FREQUENCY : always
Attachments
Issue Links
- duplicates
-
JDK-8291469 [macos] Emoji only render half size on retina display
- Closed
- relates to
-
JDK-8303494 [macos] Incorrect rendering and spacing of emojis with skin tone modifiers
- Open
-
JDK-8236689 macOS 10.15 Catalina: LCD text renders badly
- Resolved
-
JDK-8263583 Emoji rendering on macOS
- Resolved
-
JDK-8304041 [WebView] Text on the left and right of emoji is not visible
- Open
-
JDK-8291469 [macos] Emoji only render half size on retina display
- Closed
(1 relates to, 2 links to)