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

Graphics2D.getFontMetrics().getStringBounds(...).getBounds() gets modified after applying Graphics2D.rotate(...) transform

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11.0.1
    • client-libs
    • None
    • 2d
    • windows

      1. Running on eclipse (using jdk-1.8.0_172) 'Graphics2D.getFontMetrics().getStringBounds(...).getBounds()' remains same before and after applying rotate() transform.
      2. While using jdk-11.01 , 'Graphics2D.getFontMetrics().getStringBounds(...).getBounds()' is modified after applying rotate() transform.
      3. It maybe related to https://bugs.openjdk.java.net/browse/JDK-8205046 and https://bugs.openjdk.java.net/browse/JMC-6207

            prr Philip Race
            davhad Deepa Avhad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: