void (int charCount, int glyphCount) { if (!LOG.isDebugEnabled()) return; ourCharsProcessed += charCount; ourGlyphsProcessed += glyphCount; if (++ourDrawingCount == 10000) { LOG.debug("Text rendering stats: " + ourCharsProcessed + " chars, " + ourGlyphsProcessed + " glyps, ratio - " + ((float) ourGlyphsProcessed) / ourCharsProcessed); ourDrawingCount = 0; ourCharsProcessed = 0; ourGlyphsProcessed = 0; } }