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

Add floating point implementation for new BasicGraphicsUtils text related methods use floating point API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
      None
    • Resolved In Build:
      b147

      Description

      Fix JDK-8132119 added new static methods to the BasicGraphicsUtils class:
      drawString(JComponent c, Graphics2D g, String string, float x, float y)
      drawStringUnderlineCharAt(JComponent c, Graphics2D g, String string, int underlinedIndex, float x, float y)
      getClippedString(JComponent c, FontMetrics fm, String string, int availTextWidth)
      getStringWidth(JComponent c, FontMetrics fm, String string)

      They should be implemented using floating point API.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexsch Alexandr Scherbatiy
              Reporter:
              alexsch Alexandr Scherbatiy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: