Fix isolated Thai SARA AM handling
authorJiang Jiang <jiang.jiang@nokia.com>
Mon, 16 Jan 2012 14:39:56 +0000 (15:39 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Jan 2012 15:12:53 +0000 (16:12 +0100)
commit314da0ae017d664b3f05e6474f17c6610fb0257f
treee8fe21473418f6427f51844e9e3f6f35df298b68
parent6e24833dc92d20e422e21dc59806ee4df6421164
Fix isolated Thai SARA AM handling

Since 5e07a3ac58f93bd5e09715d43b58c20950c2befa Thai text layout is
handled by libthai to special case of the SARA AM. It didn't handle
isolated SARA AM. This patch fixed it and added detailed explaination
on the special case.

The dotted circle should be shown rather than hidden.

Add an test case to verify that with Waree.

Change-Id: I4967715627cbe15f5a3e9ab3e3844420ab541aed
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/3rdparty/harfbuzz/src/harfbuzz-thai.c
tests/auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp