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.
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.