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

LCD font smoothing should be turned off on Mac

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac

      Description

      In 2.1 we added support for LCD font smoothing. This is amazing on Windows but looks worse than Greyscale smoothing on Mac. So for now we should turn this off by default on Mac. In the future we should support native rasterization on Mac as well then LCD will look good and we can turn it back on by default. I have filled RT-19040 for adding native rasterization support.

      My suggestion for how to fix this is to add a Ant task in the Mac build process to replace all instances of "LCD" in the caspian.css file with "GreyScale". Something like:

      <replace file="rt/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/caspian.css">
        <replacetoken>lcd</replacetoken>
        <replacevalue>gray</replacevalue>
      </replace>

        Attachments

          Activity

            People

            • Assignee:
              thor Thor Johannesson (Inactive)
              Reporter:
              jasper Jasper Potts
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: