if(log.isDebugEnabled()) log.debug("created FontMetrics"+fm+" font="+font);
	final public FontMetrics getFontMetrics(Font font) {		FontMetrics fm = (FontMetrics) metrics.get(font);		if(log.isDebugEnabled()) log.debug("FontMetrics got from cache: "+fm+" font="+font);		if (fm == null) {			try {				fm = createFontMetrics(font);				metrics.put(font, fm);				if(log.isDebugEnabled()) log.debug("created FontMetrics"+fm+" font="+font);							} catch (IOException ex) {				log.error("Cannot create font metrics for " + font, ex);			}		}		return fm;	}