Fix Indic Text overlap problem.
Bug 5775639
In indic_shape_syllable(), control characters are skipped from the output.
However, the offsets and advances data of shaped item are not shifted
when skipping the shaped item data.
Change-Id: If24706e8bffbad533fd97a2ccb030513c4e4694a
diff --git a/src/harfbuzz-indic.cpp b/src/harfbuzz-indic.cpp
index ffe9573..3c10c57 100755
--- a/src/harfbuzz-indic.cpp
+++ b/src/harfbuzz-indic.cpp
@@ -1683,6 +1683,10 @@
}
item->glyphs[j] = item->glyphs[i];
item->attributes[j] = item->attributes[i];
+ // BEGIN android-added
+ item->offsets[j] = item->offsets[i];
+ item->advances[j] = item->advances[i];
+ // END android-added
++i;
++j;
}