JDK-8263583 : Emoji rendering on macOS
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 11,15,16,17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2021-03-15
  • Updated: 2022-07-28
  • Resolved: 2021-05-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b25Fixed
Related Reports
Relates :  
Relates :  
Description
This requires adding support for color (ARGB) glyphs to glyph rendering pipeline at all its stages (generation, storage and blitting). Emoji glyphs on macOS are provided by 'Apple Color Emoji' system font. It cannot be rendered with Core Graphics API, Core Text should be used instead. As the font is a bitmap one, and it's not scaled proportionally with font size, special measures should be taken to perform its correct sizing during rendering and metrics calculation.

Comments
Implemented for most typical scenarios. In certain case (like large font size, or non-trivial compositing/painting modes) emoji glyphs still won't be rendered.
31-05-2021

Changeset: 236bd89d Author: Dmitry Batrak <dbatrak@openjdk.org> Date: 2021-05-31 07:14:53 +0000 URL: https://git.openjdk.java.net/jdk/commit/236bd89dc3be60cac13099618f5e6518437a5098
31-05-2021