JDK-8092100 : Text needs to support letter spacing
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2011-05-11
  • Updated: 2018-09-05
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
Description
The CSS property "letter-spacing" is important when programming Java FX user interfaces which are designed by graphics designers using a creative design tool such as Adobe Photoshop. In such tools designers will often use letter spacing to ensure a more visually appealing look of textual contents.

However, the CSS property "letter-spacing" has no effect yet when using Java FX, as can be seen by invoking
myText.setStyle("letter-spacing: 2px");

Without the letter spacing property developers will have to render each and every letter of a text separately in order to space them. This will most likely lead to a slower rendering performance, and - obviously - a lot more coding.
Comments
If we already have a Java property for this and we are just adding a css way of setting this is super easy. This would be really cool to have for designers. So maybe David you could take this on and add it as it would only take you couple mins :-)
24-05-2011

Consider for a future release.
12-05-2011

This needs to be addressed by whomever is responsible for Text and Font. After letter spacing is added, it is straight forward to add CSS support.
12-05-2011

Changed the abstract to match the feature request.
12-05-2011

javafx.scene.text.Text does not support letter spacing. This is not a bug, but a request for a feature.
12-05-2011