-
Bug
-
Resolution: Fixed
-
P3
-
9
-
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.
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.
- relates to
-
JDK-8132119 Provide public API for text related methods in SwingUtilities2
-
- Resolved
-
-
JDK-8169897 [PIT] javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails
-
- Resolved
-