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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • client-libs
    • None
    • b147

      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.

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

              Created:
              Updated:
              Resolved: