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

No public Font Metrics API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • javafx
    • None

      A JavaFX font metrics API is available currently using com.sun.javafx.tk.Toolkit.getToolkit().getFontLoader().getFontMetrics() - but this is obviously a non-public API.

      When Java 9 is released (with Jigsaw), the modularization means non public APIs will become inaccessible; by implication the current JavaFX font metrics will also become unavailable.

            kcr Kevin Rushforth
            mberryjfx Michael Berry (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: