Hello guys again, i just wanted to know, why the method getHeight() return the height of an text * 2? So if the text is 30 px it return 60 px and so on?
g = getImage().getAwtImage().createGraphics();
fm = g.getFontMetrics(new Font("MONOSPACED",Font.BOLD,height));
getImage().drawString(""+fm.getHeight(),400,400);fm = g.getFontMetrics(new Font("MONOSPACED",Font.BOLD,height));