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

Commit bcf05a69 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Fix bug #5553401 TextLayoutCache is too verbose: "computeValuesWithHarfbuzz --...

Fix bug #5553401 TextLayoutCache is too verbose: "computeValuesWithHarfbuzz -- need to force to single run"

- make single run case non verbose

Change-Id: I5c3b87aeb613697233290ddecac3ca00f58f8313
parent d5b25ecc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -444,7 +444,11 @@ void TextLayoutCacheValue::computeValuesWithHarfbuzz(SkPaint* paint, const UChar
                    LOGD("computeValuesWithHarfbuzz -- dirFlags=%d run-count=%d paraDir=%d",
                            dirFlags, rc, paraDir);
#endif
                    if (!U_SUCCESS(status) || rc <= 1) {
                    if (U_SUCCESS(status) && rc == 1) {
                        // Normal case: one run, status is ok
                        isRTL = (paraDir == 1);
                        useSingleRun = true;
                    } else if (!U_SUCCESS(status) || rc < 1) {
                        LOGW("computeValuesWithHarfbuzz -- need to force to single run");
                        isRTL = (paraDir == 1);
                        useSingleRun = true;