summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-02-16 19:43:47 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-02-16 19:43:47 +0100
commit5c0bbe731541c633c114f2f31fb38a68b370e18f (patch)
tree4e0b0fadb73869604ad521cc7b4cd83c635e247f /redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch
parent4a3f0ef6b92d4a30e310be5912896ca9bfd0f3c5 (diff)
downloadtde-packaging-5c0bbe731541c633c114f2f31fb38a68b370e18f.tar.gz
tde-packaging-5c0bbe731541c633c114f2f31fb38a68b370e18f.zip
[RHEL/Fedora] Moves qt3 and tqt3 to the correct location
Diffstat (limited to 'redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch')
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch
new file mode 100644
index 000000000..276441c22
--- /dev/null
+++ b/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch
@@ -0,0 +1,11 @@
+--- tqt3/src/kernel/qfont_x11.cpp.fontrendering-ml_IN-217657 2012-02-13 19:10:01.000000000 +0100
++++ tqt3/src/kernel/qfont_x11.cpp 2012-02-13 21:45:39.903520249 +0100
+@@ -712,7 +712,7 @@
+ if ( script >= TQFont::Arabic && script <= TQFont::Khmer ) {
+ // complex script shaping. Have to do some hard work
+ int from = TQMAX( 0, pos - 8 );
+- int to = TQMIN( (int)str.length(), pos + 8 );
++ int to = str.length();
+ TQConstString cstr( str.unicode()+from, to-from);
+ TQTextEngine layout( cstr.string(), d );
+ layout.itemize( TQTextEngine::WidthOnly );