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

JavaFX font rendering in Linux is still unsatisfactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 9
    • 8u60
    • javafx
    • x86_64
    • linux

      FULL PRODUCT VERSION :
      $ java -version
      java version "1.8.0_51"
      Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
      Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux localhost 4.1.8-100.fc21.x86_64 #1 SMP Tue Sep 22 12:13:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


      A DESCRIPTION OF THE PROBLEM :
      This bug was closed lazily as "Not an issue": https://bugs.openjdk.java.net/browse/JDK-8131923

      Here's the test case JavaFX developers can use: https://github.com/woky/javafx-hates-linux

      And here's the screenshot with all possible JavaFX font configurations I know about: https://i.imgur.com/El1HacV.png
      The Swing example in bottom right corner renders the text as any other native program. The JavaFX team should at least reveal the secret settings to make JavaFX fonts on Linux not blurry.

      Even though I've tested it on 1.8.0_51, it doesn't really matter because this was an issue since the first JavaFX version and since the maintainers don't even know about it, it's probably not fixed even in 1.8.0_51. Please, don't make me go through it again, it really is broken.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the tests from the repository on Linux box.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Not blurry fonts.
      ACTUAL -
      Blurry fonts.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      https://github.com/woky/javafx-hates-linux
      ---------- END SOURCE ----------

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

              Created:
              Updated:
              Resolved: