public void drawText(Graphics2D g, String text, Font font, int x, int y) {
public void drawText(Surface g, AffineTransform tx, String text, Font font, int x, int y, Color color) {
    public void drawText(Graphics2D g, String text, Font font, int x, int y) {        FontProvider prv = getProvider(font);        Font txFont = font;        if (prv == null) {        	txFont = getTranslatedFont(font);            prv = getProvider(txFont);        }        if (prv != null) {        	final TextRenderer renderer = prv.getTextRenderer(txFont);        	renderer.render(g, text, x, y);        } else {        	log.error("No provider found for font " + txFont);        }    }