JDK-8092191 : Add methods to get the FontPosture and FontWeight of a given font.
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2012-07-02
  • Updated: 2023-09-28
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
With the current platform API, it is very difficult to implement a Font Chooser.

It is not possible to use FontPosture and FontWeight, because
 1. if you have a given font, there is no way to find out what is its posture or its weight. This is the most important issue because you can't initialize the Font Picker choices for that given font.
 2. it's also not possible to find out which are the available postures and weights for that font family.