rpms/qt/devel qt-x11-opensource-src-4.3.4-as_IN-437440.patch, 1.1, 1.2 qt.spec, 1.169, 1.170
Kevin Kofler (kkofler)
fedora-extras-commits at redhat.com
Tue Apr 8 01:37:34 UTC 2008
Author: kkofler
Update of /cvs/pkgs/rpms/qt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18345/devel
Modified Files:
qt-x11-opensource-src-4.3.4-as_IN-437440.patch qt.spec
Log Message:
* Tue Apr 08 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.4.0-0.4.rc1
- updated patch for #437440 ([as-IN] Consonant combination issue) by Pravin Satpute
qt-x11-opensource-src-4.3.4-as_IN-437440.patch:
Index: qt-x11-opensource-src-4.3.4-as_IN-437440.patch
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/qt-x11-opensource-src-4.3.4-as_IN-437440.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- qt-x11-opensource-src-4.3.4-as_IN-437440.patch 26 Mar 2008 11:27:21 -0000 1.1
+++ qt-x11-opensource-src-4.3.4-as_IN-437440.patch 8 Apr 2008 01:37:25 -0000 1.2
@@ -1,5 +1,5 @@
--- qt-x11-opensource-src-4.3.4/src/gui/text/qscriptengine.cpp 2008-02-19 23:17:19.000000000 +0530
-+++ qt-x11-opensource-src-4.3.4/src/gui/text/qscriptengine.cpp_mod 2008-03-26 12:02:54.000000000 +0530
++++ qscriptengine.cpp_mod 2008-04-01 17:39:48.000000000 +0530
@@ -2174,7 +2174,7 @@ static const unsigned char indicPosition
None, None, None, None,
None, None, None, None,
@@ -9,7 +9,7 @@
None, None, None, None,
None, None, None, None,
None, None, None, None,
-@@ -2814,9 +2814,13 @@ static bool indic_shape_syllable(QOpenTy
+@@ -2814,7 +2814,7 @@ static bool indic_shape_syllable(QOpenTy
int script = item->script;
Q_ASSERT(script >= QUnicodeTables::Devanagari && script <= QUnicodeTables::Sinhala);
const unsigned short script_base = 0x0900 + 0x80*(script-QUnicodeTables::Devanagari);
@@ -17,10 +17,24 @@
+ unsigned short ra = script_base + 0x30;
const unsigned short halant = script_base + 0x4d;
const unsigned short nukta = script_base + 0x3c;
-+ if(script==14)
-+ {
-+ ra= script_base + 0x70;
-+ }
- int len = item->length;
- IDEBUG(">>>>> indic shape: from=%d, len=%d invalid=%d", item->from, item->length, invalid);
+@@ -2856,6 +2856,19 @@ static bool indic_shape_syllable(QOpenTy
+ unsigned short *uc = reordered.data();
+ bool beginsWithRa = false;
+
++ // Exception in Bengali Script
++ //
++ // Bengali script supports two languages bengali and assamese
++ // Unfortunately for both languages there is different ra defined in same script chart
++ // for Bengali it ra is 'Base+ 0x30' and for assamese 'Base+0x70'
++ // Base is same 0x0980
++ // To handle this exception we need to change ra to from const to normal variable
++ // and aslo need to change ra to 'Base+0x70' whenever we will get assamese language
++ //character in data
++ if((script == QUnicodeTables::Bengali) && (*uc==0x09F0)){
++ ra = script_base + 0x70;
++ }
++
+ // Rule 1: find base consonant
+ //
+ // The shaping engine finds the base consonant of the
Index: qt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/qt.spec,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -r1.169 -r1.170
--- qt.spec 4 Apr 2008 20:03:04 -0000 1.169
+++ qt.spec 8 Apr 2008 01:37:25 -0000 1.170
@@ -11,7 +11,7 @@
Name: qt4
%endif
Version: 4.4.0
-Release: 0.3.%{pre_tag}%{?dist}
+Release: 0.4.%{pre_tag}%{?dist}
# GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
License: GPLv3 or GPLv2 with exceptions or QPL
@@ -785,6 +785,9 @@
%changelog
+* Tue Apr 08 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.4.0-0.4.rc1
+- updated patch for #437440 ([as-IN] Consonant combination issue) by Pravin Satpute
+
* Fri Apr 04 2008 Rex Dieter <rdieter at fedoraproject.org> 4.4.0-0.3.rc1
- qt-4.4.0-rc1
- -xmlpatterns (and drop -no-exceptions)
More information about the fedora-extras-commits
mailing list