Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092191

Add methods to get the FontPosture and FontWeight of a given font.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None

      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.

            prr Philip Race
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Imported: