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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 11.0.1
    • Component/s: 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

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

              Created:
              Updated: