summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/qt3/qt-3.3.8-fontrendering-#214570.patch
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-09-05 13:53:08 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-09-05 13:53:08 -0500
commited4fba5b52a126babf633ece832bed7cc50347e4 (patch)
treedf4dda5b511fe6a3930c567d2391a9f574570618 /redhat/dependencies/qt3/qt-3.3.8-fontrendering-#214570.patch
parent9135c977131b957134d4b691542998b2dc397378 (diff)
parent3c86eeb8b77e5ea83ce7938d75c17b7bde9b31d5 (diff)
downloadtde-packaging-ed4fba5b52a126babf633ece832bed7cc50347e4.tar.gz
tde-packaging-ed4fba5b52a126babf633ece832bed7cc50347e4.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/dependencies/qt3/qt-3.3.8-fontrendering-#214570.patch')
-rw-r--r--redhat/dependencies/qt3/qt-3.3.8-fontrendering-#214570.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/redhat/dependencies/qt3/qt-3.3.8-fontrendering-#214570.patch b/redhat/dependencies/qt3/qt-3.3.8-fontrendering-#214570.patch
new file mode 100644
index 000000000..41a74fba7
--- /dev/null
+++ b/redhat/dependencies/qt3/qt-3.3.8-fontrendering-#214570.patch
@@ -0,0 +1,23 @@
+--- qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp.orig 2007-04-11 15:05:34.000000000 +0200
++++ qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp 2007-04-11 15:22:19.000000000 +0200
+@@ -1240,7 +1240,7 @@
+ int script = item->script;
+ Q_ASSERT(script >= QFont::Devanagari && script <= QFont::Sinhala);
+ const unsigned short script_base = 0x0900 + 0x80*(script-QFont::Devanagari);
+- const unsigned short ra = script_base + 0x30;
++ unsigned short ra = script_base + 0x30; //it was const unsigned short ra before modification
+ const unsigned short halant = script_base + 0x4d;
+ const unsigned short nukta = script_base + 0x3c;
+
+@@ -1278,6 +1278,11 @@
+ }
+ #endif
+
++ unsigned short *chkAssamese=reordered.data();
++ if((script == QFont::Bengali) && (*chkAssamese==0x09F0)) //if it is assamese ra
++ {
++ ra = script_base + 0x70;
++ }
+ if (len != 1) {
+ unsigned short *uc = reordered.data();
+ bool beginsWithRa = FALSE;