am bcf05a69
: Fix bug #5553401 TextLayoutCache is too verbose: "computeValuesWithHarfbuzz -- need to force to single run"
* commit 'bcf05a69090f342d328f1537d1d83406b883290b': Fix bug #5553401 TextLayoutCache is too verbose: "computeValuesWithHarfbuzz -- need to force to single run"
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user