private void createEmptyImage(int lineCount) {
		int height = lineCount * (lineHeight) + topMargin * 2;
		image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
		Graphics2D g = image.createGraphics();
		g.setColor(Colors.BACKGROUND);
		g.fillRect(0, 0, width, height);
		g.setColor(Palette.BLACK);
		g.drawRect(0, 0, width - 1, height - 1);
		g.dispose();
	}
Each line is sized based on the font height and line padding on the top and bottom of the line.
The y coordinate tracks the top of the line, so a lines baseline (position to draw the text) 
is y + line padding + font accent.
Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/TextFormatter.java