public static FontMetrics getFontMetrics2(Font font) {
		Graphics2D g2 = (Graphics2D) new BufferedImage(1, 1,
				BufferedImage.TYPE_INT_ARGB).getGraphics();
		g2.setFont(font);
		return g2.getFontMetrics();
	}