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

2D:Style(Bold, BoldItalic,Italic) can not be applied to Japanese characters.

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      linux

      Description

      Tested on RedHat Linux6.2J update with ladybird (build 1.3.1ea-b01).
      Style(Bold, BoldItalic,Italic) can not be applied to Japanese characters.

      Step to reproduce:
      1. login with KDE and ja_JP.eucJP locale.
      2. Install jdk1.3.1 for linux
      3. execute Font2DTest demo program.
         ($JAVAHOME/demo/jfc/Font2DTest)
        
         % java -jar Font2DTest.jar

      4. Please set the followig,

         for example,
         Select "serif" (or "SansSerif" or "Dialog" or "DialogInput") from a choise for Font.
         Select "Bold" (or "BoldItalic" or "Italic") from a choise for style.
         Select "other" from a choise for Unicode Range.
         Select "3000" (or "4e00"...) from a choise for Unicode Base.
          
         Result: Bold(BoldItalic, Italic) can not be applied to Japanese characters.

      This problem occurs on RedHat6.1J also.

      This demo program works fine with jdk1.3.0.

      [Tested Machine information]
      RedHat Linux 6.2J update and 6.1J update

      % java -version
      java version "1.3.1ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1ea-b01)
      Java HotSpot(TM) Client VM (build 1.3.1ea-b01, mixed mode)

      % locale
      LANG=ja_JP.eucJP
      LC_CTYPE="ja_JP.eucJP"
      LC_NUMERIC="ja_JP.eucJP"
      LC_TIME="ja_JP.eucJP"
      LC_COLLATE="ja_JP.eucJP"
      LC_MONETARY="ja_JP.eucJP"
      LC_MESSAGES="ja_JP.eucJP"
      LC_ALL=

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rsuzukisunw Rieko Suzuki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: