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

Style with Graphics.drawString() cannot be applied Japanese Character on Windows

XMLWordPrintable

    • 2d
    • x86
    • windows_nt

      Tested with Merlin b44 on Windows Japanese(Win95,98,2000,NT and ME)
      Bold, Italic and BoldItalic style with Graphics.drawString() can not be applied to Japanese Character in 20 point or smaller.

      Other compornent(Button, Label, CheckBox, Radiobutton and TextField)
      works well.

      This phenomenon is only Graphics.drawString().

      To Reproduce.
      1. Compile and run an attached test case
         % javac *.java
         % java CharView
      2. Input "3000" or "4e00" in a text field for Unicode Range.
      3. Select "Graphics.drawString"
      4. Select one of the font among "Serif", "SansSerif", "Monospaced","Dialog" and
         "DialogInput".
      4. Select "20" point or smaller point.
      6. Slect "Bold", "Italic" and "BoldItalic".

      Then, you can see the problem.

      If you select "24" point or bigger, the problem does not occur.

      This problem is not seen with Kestrel FCS

      [rieko.suzuki@Japan 2000-12-12]

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: