Font(int face, int style, int size) {

		Display.check();

		this.face = face;
		this.style = style;
		this.size = size;

		StringBuffer buf = new StringBuffer();
		String name;
		int points =
			javax
				.microedition
				.midlet
				.ApplicationManager
				.manager
				.awtContainer
				.getFont()
				.getSize();
		int awtStyle = 0;

		switch (face) {
			case FACE_SYSTEM :
				buf.append("system");
				break;
			case FACE_PROPORTIONAL :
				buf.append("proportional");
				break;
			case FACE_MONOSPACE :
				buf.append("monospace");
				break;
			default :
				throw new IllegalArgumentException();
		}

		switch (style & 3) {
			case STYLE_BOLD :
				buf.append(".bold");
				break;
			case STYLE_ITALIC :
				buf.append(".italic");
				break;
			case STYLE_BOLD | STYLE_ITALIC :
				buf.append(".bold.italic");
				break;
			default :
				buf.append(".plain");
		}

		switch (size) {
			case SIZE_MEDIUM :
				buf.append(".medium");
				break;
			case SIZE_SMALL :
				buf.append(".small");
				break;
			case SIZE_LARGE :
				buf.append(".large");
				break;
			default :
				throw new IllegalArgumentException();
		}

		info = FontInfo.getFontInfo(buf.toString());
	}