90491cb
diff -ur qt-all-opensource-src-4.4.0-rc1/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp qt-all-opensource-src-4.4.0-rc1-as_IN-437440/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp
90491cb
--- qt-all-opensource-src-4.4.0-rc1/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp	2008-04-02 18:33:48.000000000 +0200
90491cb
+++ qt-all-opensource-src-4.4.0-rc1-as_IN-437440/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp	2008-04-08 04:37:45.000000000 +0200
90491cb
@@ -552,7 +552,7 @@
2df14c1
     None, None, None, None,
2df14c1
     None, None, None, None,
2df14c1
 
2df14c1
-    None, None, None, None,
2df14c1
+    Below, None, None, None,
2df14c1
     None, None, None, None,
2df14c1
     None, None, None, None,
2df14c1
     None, None, None, None,
90491cb
@@ -1169,7 +1169,7 @@
90491cb
     HB_Script script = item->item.script;
90491cb
     assert(script >= HB_Script_Devanagari && script <= HB_Script_Sinhala);
90491cb
     const unsigned short script_base = 0x0900 + 0x80*(script-HB_Script_Devanagari);
2df14c1
-    const unsigned short ra = script_base + 0x30;
2df14c1
+    unsigned short ra = script_base + 0x30;
2df14c1
     const unsigned short halant = script_base + 0x4d;
2df14c1
     const unsigned short nukta = script_base + 0x3c;
90491cb
     bool control = false;
90491cb
@@ -1212,6 +1212,19 @@
90491cb
         HB_UChar16 *uc = reordered;
7195673
         bool beginsWithRa = false;
7195673
 
7195673
+	// Exception in Bengali Script
7195673
+        //
7195673
+        // Bengali script supports two languages bengali and assamese
7195673
+        // Unfortunately for both languages there is different ra defined in same script chart
7195673
+        // for Bengali it ra is 'Base+ 0x30' and for assamese 'Base+0x70'
7195673
+        // Base is same 0x0980
7195673
+        // To handle this exception we need to change ra to from const to normal variable 
7195673
+        // and aslo need to change ra to 'Base+0x70' whenever we will get assamese language
7195673
+	//character in data
90491cb
+	if((script == HB_Script_Bengali) && (*uc==0x09F0)){
7195673
+	  ra  = script_base + 0x70;
7195673
+	}
7195673
+
7195673
         // Rule 1: find base consonant
7195673
         //
7195673
         // The shaping engine finds the base consonant of the