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

Text anti-aliasing hint ANTIALIAS_ON not where the font contains embedded bitmaps

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • client-libs
    • 2d
    • b39
    • 6
    • b45
    • generic
    • windows_xp
    • Verified

      Text anti-aliasing hints for LCD_HRGB and ANTIALIAS_ON not enabled for some fonts/sizes on WinXP.

      For certain fonts and sizes on WinXP, the Text RenderingHints:

      VALUE_TEXT_ANTIALIAS_ON
      VALUE_TEXT_ANTIALIAS_LCD_HBGR

      become disabled, and no anti-aliasing is performed on a particular font. Examining the font with a magnifier application (at these sizes) shows no grey pixels (for ANTIALIAS_ON) or no colorized sub-pixels (for LCD_HBGR). Pixels will only be black and white.

      Here are some observed TrueType fonts where the bug occurs on WinXP. The bugs seems to only occur within the size range 11 - 21.

      Garamond, Albany, Andale Sans, Broadway, Cumberland, Palace Script, Sheffield, Thorndale, and some others.

      - Was not able to see this problem on other platforms.
      - The bug was introduced with 1.6.0-b39

      Steps to reproduce
      ==================
      1) Use build 1.6.0-b39 or later
      2) Launch Font2DTest and set Antialias Setting to "ON" or "LCD_HBGR"
      3) Select one of the fonts from the list above, say Garamond
      4) Set the font size to 11
      5) Observe that the characters will show no anti-aliasing, only black and white


      ###@###.### 2005-06-21 01:40:12 GMT

            prr Philip Race
            rreynagasunw Rick Reynaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: