e6ea0aa
--- qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp.orig	2007-04-11 15:05:34.000000000 +0200
e6ea0aa
+++ qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp	2007-04-11 15:22:19.000000000 +0200
e6ea0aa
@@ -1240,7 +1240,7 @@
e6ea0aa
     int script = item->script;
e6ea0aa
     Q_ASSERT(script >= QFont::Devanagari && script <= QFont::Sinhala);
e6ea0aa
     const unsigned short script_base = 0x0900 + 0x80*(script-QFont::Devanagari);
e6ea0aa
-    const unsigned short ra = script_base + 0x30;
e6ea0aa
+    unsigned short ra = script_base + 0x30;            //it was const unsigned short ra before modification
e6ea0aa
     const unsigned short halant = script_base + 0x4d;
e6ea0aa
     const unsigned short nukta = script_base + 0x3c;
e6ea0aa
 
e6ea0aa
@@ -1278,6 +1278,11 @@
e6ea0aa
     }
e6ea0aa
 #endif
e6ea0aa
 
e6ea0aa
+    unsigned short *chkAssamese=reordered.data();
e6ea0aa
+    if((script == QFont::Bengali) && (*chkAssamese==0x09F0)) //if it is assamese ra
e6ea0aa
+    {
e6ea0aa
+       ra  = script_base + 0x70;
e6ea0aa
+    }
e6ea0aa
     if (len != 1) {
e6ea0aa
         unsigned short *uc = reordered.data();
e6ea0aa
         bool beginsWithRa = FALSE;