Need font/text measurement API

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: fx2.0
    • Component/s: javafx

      Presently the only way to measure text is to create a Text node, insert it into a scene, and
      ask for its bounds : logical or visual. To make matters a bit worse, those bounds will be
      padded because they are overloaded to handle dirty regions.
      To help lay out etc, a client will benefit from being able to ask for exact advance of at
      least a single line string (perhaps with styling ?). The client will need to specify
      a suitable render context (graphics transform and font) as well as the specific
      text for this to be valid.

            Assignee:
            Philip Race
            Reporter:
            Philip Race
            Votes:
            19 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Imported: