Merge "Reduce TextLayoutCache logging."
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user