public static Font pixFont(String name, int style, int pixels)
	{
		int under = 0;
		int over = 0;
		int unrPixels = Empty.getGraphics().getFontMetrics(new Font(name, style, under)).getHeight();
		int ovrPixels = Empty.getGraphics().getFontMetrics(new Font(name, style, over)).getHeight();
		for (over = 1; ovrPixels < pixels; over++)
		{
			ovrPixels = Empty.getGraphics().getFontMetrics(new Font(name, style, over)).getHeight();
		}
		for (under = over * 2; unrPixels > pixels; under--)
		{
			unrPixels = Empty.getGraphics().getFontMetrics(new Font(name, style, under)).getHeight();
		}
		if (pixels - unrPixels < ovrPixels - pixels)
		{
			return new Font(name, style, under);
		}
		else
		{
			return new Font(name, style, over);
		}
	}