Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54298652 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Reduce TextLayoutCache logging."

parents a81aec78 3f32a313
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -62,7 +62,9 @@ static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint
    uint16_t glyph = codepoint;

    paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds);
#if DEBUG_GLYPHS
    ALOGD("returned glyph for %i: width = %f", codepoint, skWidth);
#endif
    if (width)
        *width = SkScalarToHBFixed(skWidth);
    if (extents) {