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

Japanese Font is not displaying on 1.1.3

    XMLWordPrintable

Details

    • b01
    • x86
    • generic
    • Not verified

    Description

      I found a bug in JDK 1.1.3Beta which Oracle got last Friday.
      It prevents Java applets from displaying Japanese characters.
      This problem didn't exist in JDK 1.1FCS, 1.1.1FCS, nor 1.1.2FCS.
      Here is a test program:
       
      ----------------------------------------------------------------------
       
      import java.applet.*;
      import java.awt.*;
       
      public class HelloApplet extends Applet {
        public void paint(Graphics g) {
          g.drawString
            ("\uff7a\uff9d\uff86\uff81\uff8a\u4e16\u754c\uff01", 100, 100);
        }
      }
       
      ----------------------------------------------------------------------
       
      This applet displays Japanese translation of "Hello World !".
      It works fine with JDK 1.1.2FCS, but I see only "????????" if
      I use JDK 1.1.3Beta which Oracle got last Friday.
       
      By the way, I used Japanese WindowsNT4.0 Server.
       
      Could you fix this problem please ?
       
      +--------------------------------------------------------------------+
      | "Linus" Toshihiro Tanaka 500 Oracle Parkway M/S 2op2 |
      | International Development Org. Redwood Shores, CA 94065 U.S.A. |
      | Oracle Corporation phone: +1-415-506-8049 |
      | email: ###@###.### |
      +--------------------------------------------------------------------+
             The statements and opinions expressed here are my own and
             do not necessarily represent those of Oracle Corporation.

      Attachments

        Activity

          People

            tballsunw Tom Ball (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: