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

Test TextLayout/TestControls fails on windows & linux: line and paragraph separator show non-zero advance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 25
    • client-libs
    • 2d
    • linux, windows

      The java/awt/font/TextLayout/TestControls.html (or java/awt/font/TextLayout/TestControls.java) fails on windows and linux.

      The test instructions say, “The following lines all render the controls. All controls should not render (even as space) and report a zero advance.” The characters with hexcode - 0x2028 (line separator) and 0x2029 (paragraph separator) are shown with a non-zero advance on windows and linux. Screenshots attached

      Regression caused by JDK-8208377 - Soft hyphens render if not using TextLayout fix.

        1. linux.png
          linux.png
          6 kB
        2. windows.png
          windows.png
          6 kB
        3. win_line_para.png
          win_line_para.png
          4 kB

            dgredler Daniel Gredler
            honkar Harshitha Onkar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: