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

Chinese characters deform with 'Font.BOLD' attribute for some fonts

XMLWordPrintable

    • 2d
    • b45
    • generic, x86
    • generic, windows_2000

      When using some fonts to draw Chinese characters with 'Font.BOLD' attribute, the Chinese characters will deform - The strokes of the characters will become difference in width, this problem can be easyly observed when the font size is big, the bigger the font size is, the more serious the character deforms.

      The affected fonts includes(not a complete list):
      SongTi,
      New SongTi,
      MS Serif,
      Simplified FangZheng FangSong,
      Simplified FangZheng ShuSong,
      Simplified FangZheng KaiTi,
      LiShu,
      YouYuan,
      Fixedsys,
      Small Fonts

      The problem could happen on the following Swing Components(not a complete list):
      JLabel,
      JTextPane,
      JTextArea,
      JButton,
      JRadioButton,
      JTextField,
      JEditorPane

      A test case is attached.

            igor Igor Nekrestyanov (Inactive)
            jieshe Jie Shen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: