private void InitFont(Font f) {
		Image img = Image.createImage(FONT.INIT_IMAGE_WIDTH, FONT.INIT_IMAGE_HEIGHT);
		int[] rgbData = new int[FONT.INIT_IMAGE_WIDTH * FONT.INIT_IMAGE_HEIGHT];

		Graphics g = img.getGraphics();
		g.setColor(0xFF000000);
		g.fillRect(0, 0, FONT.INIT_IMAGE_WIDTH, FONT.INIT_IMAGE_HEIGHT);

		g.setColor(0xFF0000FF);
		g.setFont(f);
		g.drawString("A", 0, 0, 0);

		img.getRGB(rgbData, 0, FONT.INIT_IMAGE_WIDTH, 0, 0, FONT.INIT_IMAGE_WIDTH, FONT.INIT_IMAGE_HEIGHT);

		int minY = FONT.INIT_IMAGE_HEIGHT, maxY = 0;
		int x;

		for (int y = 0; y < FONT.INIT_IMAGE_HEIGHT; y++) {
			for (x = 0; x < FONT.INIT_IMAGE_WIDTH; x++) {
				if (rgbData[y * FONT.INIT_IMAGE_WIDTH + x] != 0xFF000000) {
					x = -1;
					break;
				}
			}

			if (x == -1) {
				minY = y;
				break;
			}
		}

		for (int y = FONT.INIT_IMAGE_HEIGHT - 1; y >= 0; y--) {
			for (x = 0; x < FONT.INIT_IMAGE_WIDTH; x++) {
				if (rgbData[y * FONT.INIT_IMAGE_WIDTH + x] != 0xFF000000) {
					x = -1;
					break;
				}
			}

			if (x == -1) {
				maxY = y;
				break;
			}
		}

		m_FontHeight = maxY - minY + 1;
		m_FontOffsetY = minY;
		m_Font = f;
	}