Loading core/jni/android/graphics/HarfBuzzNGFaceSkia.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
core/jni/android/graphics/HarfBuzzNGFaceSkia.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading