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

Color fringes in JavaFX fonts on macOS

XMLWordPrintable

    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      MacOS X Catalina (10.15.3).

      openjdk version "14" 2020-03-17
      OpenJDK Runtime Environment (build 14+36-1461)
      OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

      A DESCRIPTION OF THE PROBLEM :
      Text rendered on MacOS shows color fringe / sub-pixel colors. When zooming in on black text rendered by JavaFX one can see that there are red, green, blue sub-pixels showing up next to the black pixels. The effect can be seen here: https://github.com/javafxports/openjdk-jfx/issues/229#issuecomment-631797333


      REGRESSION : Last worked in version 14.0.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Any control shown by a JavaFX app running on MacOS will reproduce this issue. This link shows the experience: https://github.com/javafxports/openjdk-jfx/issues/229#issuecomment-631797333


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Only black and grey pixels should be visible (because of anti aliasing).
      ACTUAL -
      Plenty of red, green, and blue pixels appear to the left and right of the black pixels.

      CUSTOMER SUBMITTED WORKAROUND :
      None.

      FREQUENCY : always


            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: