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

Font rendering regression after 8214481

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 15
    • 14, 15
    • client-libs
    • None

      https://bugs.openjdk.java.net/browse/JDK-8214481 seems to be a regression in that it makes rendering on OpenJDK blurry as opposed to previous versions where the fonts are rendered correctly.

      Unfortunately, this doesn't seem to be the case always, for example the original bug has a test with the cambria.ttc font and this indeed has a better rendering with the patch. This maybe a difference between serif and non serif fonts but I've not tracked this down yet.

      Here's a screenshot with the 11u with patch and without that shows the difference clearly (left side is patched, right side is clean OpenJDK11), but you can see this same with latest jdk just by reverting 8214481:

      http://cr.openjdk.java.net/~neugens/JDK-8214481/3.png

      Attached a test case that helps a bit, this is a mesh of all the various tests floating around 8214481.

        1. bug8214481_Diff.java
          3 kB
        2. bug8214481_Diff.java
          3 kB
        3. cambria.ttc
          1.55 MB

            prr Philip Race
            neugens Mario Torre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: