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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8u5
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Environment:

      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]

      Description

      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?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: