The result of drawString
with the same font and size in java
The appearance is different when drawn with the same font and size in a painter (or word). Drawing with drawstring in java doesn't look good.
Why does it look so different?
Is there a way to make it look nice like a word or a painter in java?
The top one is drawn in Java, the lower one is painted in painter.

Code:
Font fontBold28 = new Font("Arial", Font.BOLD|Font.ITALIC, 28);
g.setFont(fontBold28);
g.setColor(Color.black);
g.drawString("ABCDEFG", x, y);