Skip to content

Commit 44cd3f8

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Fix compilation issue when DEBUG_GLYPHS define is activated"
2 parents 10b4503 + a99ed62 commit 44cd3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/android/graphics/TextLayoutCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ void TextLayoutCacheValue::computeRunValuesWithHarfbuzz(HB_ShaperItem& shaperIte
534534
#if DEBUG_GLYPHS
535535
LOGD("HARFBUZZ -- num_glypth=%d - kerning_applied=%d", shaperItem.num_glyphs,
536536
shaperItem.kerning_applied);
537-
LOGD(" -- string= '%s'", String8(chars + start, count).string());
537+
LOGD(" -- string= '%s'", String8(shaperItem.string + start, count).string());
538538
LOGD(" -- isDevKernText=%d", paint->isDevKernText());
539539

540540
logGlyphs(shaperItem);

0 commit comments

Comments
 (0)