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

RFE: windows desktop properties should include font smoothing settings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • client-libs
    • None
    • tiger
    • x86
    • windows_xp

      All versions of MS windows support a desktop "font smoothing" setting.
      This controls how Windows anti-aliases text. In addition XP allows a user
      to choose the font smoothing algorithm, one value being the standard setting,
      the other being appropriate for LCD display technology.

      To properly emulate the L&F of the native desktop, Swing needs to read
      and obey these settings, to the fullest extent that the JDK can support.

      I believe AWT needs to provide this information via the desktop
      properties and Swing read it and use it to set the TEXT_ANTIALIASING hint on
      all Swing component graphics.

      ===============================

      Note that theoretically this ought to be a per-monitor (screen) setting
      as LCD text optimisation isn't necessarily wanted if only one monitor is
      an LCD, but Windows doesn't appear to set it that way. Its global to the
      desktop. This seems like something that may change in the future.

      Also we see that the Linux Gnome 2.0 desktop preferences font chooser
      allows you to similarly choose between A-A settings, and this should also
      be made available for Swing to read for the GTK L&F. For some reason
      the Solaris gnome 2.0 doesn't yet support this but that should not prevent
      its implementation since its already there on the Linux version.

      ###@###.### 2003-01-27
      ============================

            ehawkessunw Eric Hawkes (Inactive)
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: