[indic] Adjust cluster merging under uniscribe mode for Tamil

Apparently Uniscribe Tamil shaper doesn't ship chubby clusters
for Tamil.  Adjust to that.
This commit is contained in:
Behdad Esfahbod 2013-10-16 11:33:18 +02:00
parent 5c558877da
commit 190c8f2b60
1 changed files with 2 additions and 2 deletions

View File

@ -1548,9 +1548,9 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
/*
* Finish off the clusters and go home!
*/
if (hb_options ().uniscribe_bug_compatible)
if (hb_options ().uniscribe_bug_compatible && buffer->props.script != HB_SCRIPT_TAMIL)
{
/* Uniscribe merges the entire cluster.
/* Uniscribe merges the entire cluster... Except for Tamil.
* This means, half forms are submerged into the main consonants cluster.
* This is unnecessary, and makes cursor positioning harder, but that's what
* Uniscribe does. */