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

Commit e414613b authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Fix bug #5901103 all_source_project_146981_Android - Android ICS LQA...

Merge "Fix bug #5901103 all_source_project_146981_Android - Android ICS LQA Regression:FA, AR, HE and TH - Font Corruption"
parents 6de8b47b 3941a22b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -811,7 +811,7 @@ size_t TextLayoutEngine::shapeFontRun(const SkPaint* paint, bool isRTL) {
    case HB_Script_Hebrew:
    case HB_Script_Bengali:
    case HB_Script_Thai:{
        const uint16_t* text16 = (const uint16_t*)mShaperItem.string;
        const uint16_t* text16 = (const uint16_t*)(mShaperItem.string + mShaperItem.item.pos);
        SkUnichar firstUnichar = SkUTF16_NextUnichar(&text16);
        baseGlyphCount = paint->getBaseGlyphCount(firstUnichar);
        break;