JDK-8303015 : Text/TextFlow: support overflow-wrap
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-02-21
  • Updated: 2023-02-27
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
tbdUnresolved
Related Reports
Relates :  
Description
Provide support for overflow-wrap CSS property:

The overflow-wrap CSS property applies to inline elements, setting whether the text layout should insert line breaks within an otherwise unbreakable string to prevent text from overflowing its line box.

See https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap

May apply to Text and TextFlow.
Comments
This might be doable by using a CharacterBreakIterator on a subset of the text.
27-02-2023