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

The Bold Korean Font don't properly act.

XMLWordPrintable



      Name: skT45625 Date: 05/26/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      I tested Font in JLabel with Korean chatactors, Dialog.PLAIN, Dialog.BOLD,
      Dialog.ITALIC, Font.BOLD|Font.ITALIC on jdk 1.3. There's misaction at the second
      and forth case.
      I tried again on jdk 1.2.2. It showed those letters nomally.

      code :
                      JLabel1.setText("?? ?? ??");//"?? ?? ??" is Korean charactors
      getContentPane().add(JLabel1);
      JLabel1.setFont(new Font("Dialog", Font.PLAIN, 12));
      JLabel1.setBounds(72,12,273,72);
      JLabel2.setText("?? ?? ??");//"?? ?? ??" is Korean charactors
      getContentPane().add(JLabel2);
      JLabel2.setFont(new Font("Dialog", Font.BOLD, 12));
      JLabel2.setBounds(72,120,319,60);
      JLabel3.setText("?? ?? ??");//"?? ?? ??" is Korean charactors
      getContentPane().add(JLabel3);
      JLabel3.setFont(new Font("Dialog", Font.ITALIC, 12));
      JLabel3.setBounds(72,204,318,89);
      JLabel4.setText("?? ?? ??");//"?? ?? ??" is Korean charactors
      getContentPane().add(JLabel4);
      JLabel4.setFont(new Font("Dialog", Font.BOLD|Font.ITALIC, 12));
      JLabel4.setBounds(72,312,373,76);
      (Review ID: 105360)
      ======================================================================

      This is a regression bug. It is introduced in JDK1.3, worked well in JDK1.2.
      Please advise on workaround.
      ###@###.### 2000-06-27

            sherman Xueming Shen
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: