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

[Font] Label is not being anti aliased when its size is between 15 and 80 pixels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 8u40
    • 8u5
    • javafx
    • java version "1.8.0"
      Java(TM) SE Runtime Environment (build 1.8.0-b132)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
      Windows 8.1 64 bits [Version 6.3.9600]

      While testing the GUI of my JavaFX 8 application, I noticed that some labels are not displaying anti-aliased text. After some googling and struggling, I found out a very annoying thing that is happening. The anti-aliasing is being applied only on labels which font size is greater than 80px.

      Here is a comparison between a JavaFX application and a Swing application (with AA applied):
      http://i.stack.imgur.com/yp9z9.png

      Code for that: https://gist.github.com/anonymous/be60bb89181376ff12aa

      Is it possible to have all fonts anti aliased as it is in Swing?

            fheidric Felipe Heidrich (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: