public Texture getStringTexture(String str) {
		
		BufferedImage bufImg = new BufferedImage(getStringWidth(str), (int) fontSize, BufferedImage.TYPE_INT_ARGB);
		Graphics2D g2d = bufImg.createGraphics();
		g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
		g2d.setFont(font);
		g2d.setColor(java.awt.Color.white);	
		g2d.drawString(str, 0, fontSize-4);
		g2d.dispose();
		
		return new Texture(bufImg);		
	}