diff options
-rw-r--r-- | icu4c/source/layout/OpenTypeLayoutEngine.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/icu4c/source/layout/OpenTypeLayoutEngine.cpp b/icu4c/source/layout/OpenTypeLayoutEngine.cpp index 948b36626..1c8123e6b 100644 --- a/icu4c/source/layout/OpenTypeLayoutEngine.cpp +++ b/icu4c/source/layout/OpenTypeLayoutEngine.cpp @@ -532,7 +532,11 @@ void OpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int3 delete adjustments; } else { // if there was no GPOS table, maybe there's non-OpenType kerning we can use - LayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); + // Google Patch: disable this. Causes problems with Tamil. + // Umesh says layout is poor both with and without the change, but + // worse with the change. See ocean/imageprocessing/layout_test_unittest.cc + // Public ICU ticket for this problem is #7742 + // LayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); } LEGlyphID zwnj = fFontInstance->mapCharToGlyph(0x200C); |