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

[macos] java/awt/font/TextLayout/TextLayoutBounds.java always fail

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9, 10, 11, 13, 14
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Environment:

      jdk9 b141 and earlier after b137, OS X/macOS

    • Subcomponent:
      2d
    • OS:
      os_x

      Description

      This test used to fail differently until b137 (see JDK-8144015) but now on both my systems (10.10 and 10.12) it throws
      tlbounds=java.awt.geom.Rectangle2D$Float[x=-1.09375,y=-23.125,w=83.578125,h=27.75]
      gvbounds=java.awt.geom.Rectangle2D$Float[x=-1.09375,y=-23.125,w=83.265625,h=27.75]
      outlineBounds=java.awt.geom.Rectangle2D$Float[x=-1.09375,y=-23.125,w=83.578125,h=27.75]
      java.lang.RuntimeException: Bounds differ [gvv != tl]

      i.e. width is different. I don't know how important is the difference in quarter of a pixel, in this context, so I refrain from making it a testbug. Please decide.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                yan Yuri Nesterenko
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: