diff options
author | John Tapsell <john.tapsell.ext@basyskom.com> | 2012-02-08 10:12:08 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-10 09:49:51 +0100 |
commit | 7495f2c7c55917a98c903547858be923028b7827 (patch) | |
tree | 9eb01f7b19a54182d7ef3fec5e66181d796709de /src/3rdparty | |
parent | 29ec5ba68a14b8c75876ce129dd7b3204f8ba503 (diff) |
Harfbuzz-thai - When calling HB_OpenTypePosition we must set doLogClusters to true for thai
This bug resulted in word wrapping not working correctly for thai.
Change-Id: I676deb12258beb224736414712a32e23513f406e
Reviewed-by: Adrian Yanes <ext-adrian.yanes@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/harfbuzz/src/harfbuzz-thai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c b/src/3rdparty/harfbuzz/src/harfbuzz-thai.c index 59f5f7d448..386fd5c252 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c +++ b/src/3rdparty/harfbuzz/src/harfbuzz-thai.c @@ -353,7 +353,7 @@ HB_Bool HB_ThaiShape (HB_ShaperItem *shaper_item) const int availableGlyphs = shaper_item->num_glyphs; if ( HB_SelectScript (shaper_item, thai_features) ) { HB_OpenTypeShape (shaper_item, /*properties*/0); - return HB_OpenTypePosition (shaper_item, availableGlyphs, /*doLogClusters*/false); + return HB_OpenTypePosition (shaper_item, availableGlyphs, /*doLogClusters*/true); } #endif |