JDK-8293537 : PoC - Implement LCD Text Rendering
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P3
  • Status: Closed
  • Resolution: Delivered
  • OS: os_x
  • CPU: generic
  • Submitted: 2022-09-08
  • Updated: 2025-05-22
  • Resolved: 2025-05-22
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.
Other
internalResolved
Related Reports
Blocks :  
Relates :  
Relates :  
Comments
Since metal LCD output matches with ES2, this task is marked as delivered and LCD text rendering works as expected.
22-05-2025

It is verified that Metal LCD text rendering output matches that of ES2 with current code present in Metal repo. If we render text of small size(large size texts are drawn as shapes) with -Dprism.lcdtext=true and FontSmoothingType.LCD in metal pipeline, it is able to fetch 24 bpp glyphs and draw them using 2 pass metal shader(Solid_TextureFirstPassLCD & Solid_TextureSecondPassLCD). This matching behaviour is also verified using a label where by default it has LCD Font smoothing and we just need to use -Dprism.lcdtext=true. Attached images of text and label rendered using LCD glyphs for both Metal and ES2 pipeline.
22-05-2025