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

Font smoothing type for Label always lcd

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
    • Environment:

      JavaFX 2.1b18, Windows 7 SP1 64-bit

      Description

      I'm displaying a simple label with text on a projector system (which doesn't benefit from LCD smoothing). No matter what I do, fonts are rendered with LCD smoothing on, which is visible because the left edges of every character is slightly blue (there are blue pixels on close up) and the right edge is slighty red (red pixels are visible on close up).

      I've tried setting "-fx-font-smoothing-type: gray;" in css directly by id and directly on the label using setStyle. It does not seem to have any effect.

      I've gone through great lengths to make sure the lcd smoothing is off on my entire system (as my eyes apparently are sharp enough to see the ugly discoloration this causes on the font edges), yet it is still present in JavaFX labels.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                leifs Leif Samuelsson (Inactive)
                Reporter:
                jhendrikx John Hendrikx
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: