private static FontMetrics createFontMetrics(Font font) {
		BufferedImage image = new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB_PRE);
		Graphics g = image.getGraphics();
		FontMetrics fm = g.getFontMetrics(font);
		g.dispose();
		return fm;
	}
Graphics used to render copied text data.  This class is not a true graphics object, but is
instead used to grab text being painted so that clients can later use that text.
Ghidra/Framework/Generic/src/main/java/generic/text/TextLayoutGraphics.java