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

Dingbats code are not displayed on AWT components on Linux.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.1
    • client-libs

      ===========================================================
      Tested OS: RedHat Linux 7.1/7.2
      JDK : jdk1.3.1(FCS)/jdk1.4(FCS)/jdk1.4.1(latest build, b14)
      locale : eucJP, en
      ===========================================================

      I was aware that Dingbats code are not displayed on AWT component
      like a Button, Label, CheckBox and radio button, on Linux.
      On 2D(ex. Font2D demo), they are displayed correctly.

      On Solaris, Dingbats code are displayed correctly on AWT component except
      TextField/TextArea, so I wonder if Dingbats code should be displayd on Linux as well as Solaris.

      Steps to reproduce;

        1.compile CharView test (attached Charview.java FontView.java)
        2.run CharView
          % java CharView
        3.Comes up CharView dialog
        4.Input Dingbats(\u2700) code.
        5.Select Button/Label/CheckBox/Radiobutton except Graphics.drawString.
          Then, you can see that Dingbats code are displayed as a ??????.
        6.Select Graphics.drawString
          Then, you can see that Dingbats code are displayed correctly.


      * This problem is seen in not only jdk1.4.1 but also 1.3.1, 1.4.
        Threrefore, this is not a regression.

      * This problem is seen in not only eucJP locale but also english locale.

            sherman Xueming Shen
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: