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

GTK L&F in CJK locales disables use of desktop antialiasing.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • client-libs
    • 2d
    • b86
    • sparc
    • solaris_10

      I'm using Solaris 10 both SPARC and x86, also using Fedora Core 5. I also tried
      GTK look&feel on Swing Apps, e.g. NetBeans 5.0 IDE. It seems that Anti-Alias
      does not work with these apps when I use GTK L&F and change my font setting of
      Solaris JDS and GNOME on Fedora Core 5.

      JDK1.5 works fine with swing.aatext=true.

      1. Install IPA fonts
      There is free TrueType fonts called IPA fonts, which can be downloaded
      from https://sourceforge.jp/projects/opfc/. Fonts are included in
      module tarball of "ModuleHP". Please contact me if you need fonts.

      2. Install these fonts into JDS or GNOME
      copy these font files to ~/.fonts
      3. Change Desktop and App fonts to these fonts on setting dialog
      Now you can see these fonts on GNOME apps
      4. Try swingset2 with GTK Look&Feel in Japanese locale

      Results are,

      JDK1.5:
      AA does not work at default option, but -Dswing.aatext=true can
      solve this problem.

      % java -Dswing.aatext=true SwingSet2.jar

      AA now works.

      Mustang (b81):
      AA does not work. -Dswing.aatext=true also could not help.

      I attached screenshot, it shows JDS menu, JDK1.5 swingset2 with aatext=true,
      Mustang b81 swingset2.

            prr Philip Race
            katakai Masaki Katakai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: