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

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

XMLWordPrintable

    • 2d
    • os_x

      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.

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

              Created:
              Updated: