Merge "Reduce TextLayoutCache logging."

This commit is contained in:
Jeff Sharkey
2013-01-17 20:56:57 +00:00
committed by Android (Google) Code Review

View File

@@ -62,7 +62,9 @@ static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint
uint16_t glyph = codepoint; uint16_t glyph = codepoint;
paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds); paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds);
#if DEBUG_GLYPHS
ALOGD("returned glyph for %i: width = %f", codepoint, skWidth); ALOGD("returned glyph for %i: width = %f", codepoint, skWidth);
#endif
if (width) if (width)
*width = SkScalarToHBFixed(skWidth); *width = SkScalarToHBFixed(skWidth);
if (extents) { if (extents) {