Blame SOURCES/qt-3.3.6-fontrendering-ml_IN-217657.patch

106311
diff -pruN qt-x11-free-3.3.6.org/src/kernel/qfont_x11.cpp qt-x11-free-3.3.6/src/kernel/qfont_x11.cpp
106311
--- qt-x11-free-3.3.6.org/src/kernel/qfont_x11.cpp	2006-03-08 00:00:00.000000000 +0530
106311
+++ qt-x11-free-3.3.6/src/kernel/qfont_x11.cpp	2006-12-04 18:49:09.000000000 +0530
106311
@@ -709,7 +709,7 @@ int QFontMetrics::charWidth( const QStri
106311
     if ( script >= QFont::Arabic && script <= QFont::Khmer ) {
106311
 	// complex script shaping. Have to do some hard work
106311
 	int from = QMAX( 0,  pos - 8 );
106311
-	int to = QMIN( (int)str.length(), pos + 8 );
106311
+	int to = str.length();
106311
 	QConstString cstr( str.unicode()+from, to-from);
106311
 	QTextEngine layout( cstr.string(), d );
106311
 	layout.itemize( QTextEngine::WidthOnly );