summaryrefslogtreecommitdiffstats
path: root/redhat/tqt3/tqt3-3.4.0-fontrendering-214371.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-02-13 22:56:37 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-02-13 22:56:37 +0100
commit14dfc7ec02c0f331342d8becac217b781b5feadf (patch)
tree11e36a7fbc9408fcd91d045f58892300d37a8b47 /redhat/tqt3/tqt3-3.4.0-fontrendering-214371.patch
parente52e723d608adb3227f17cc07ca39e0a84002f89 (diff)
downloadtde-packaging-14dfc7ec02c0f331342d8becac217b781b5feadf.tar.gz
tde-packaging-14dfc7ec02c0f331342d8becac217b781b5feadf.zip
[RHEL/Fedora] add TQT3 for future R14
Diffstat (limited to 'redhat/tqt3/tqt3-3.4.0-fontrendering-214371.patch')
-rw-r--r--redhat/tqt3/tqt3-3.4.0-fontrendering-214371.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/redhat/tqt3/tqt3-3.4.0-fontrendering-214371.patch b/redhat/tqt3/tqt3-3.4.0-fontrendering-214371.patch
new file mode 100644
index 000000000..9dca7998d
--- /dev/null
+++ b/redhat/tqt3/tqt3-3.4.0-fontrendering-214371.patch
@@ -0,0 +1,15 @@
+diff -pruN qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp
+--- qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp 2006-12-04 18:47:11.000000000 +0530
++++ qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp 2006-12-05 12:05:10.000000000 +0530
+@@ -1412,7 +1412,10 @@ static bool indic_shape_syllable(QOpenTy
+ toPos += 2;
+ if (script == QFont::Devanagari || script == QFont::Gujarati || script == QFont::Bengali) {
+ if (matra_position == Post || matra_position == Split) {
+- toPos = matra+1;
++ if (matra_position == Post )
++ toPos = matra;
++ else
++ toPos = matra+1;
+ matra -= 2;
+ }
+ } else if (script == QFont::Kannada) {