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

Font smoothing type for Label always lcd

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7u6
    • fx2.1
    • javafx
    • JavaFX 2.1b18, Windows 7 SP1 64-bit

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: