summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-08-25 14:30:20 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-08-25 14:30:20 +0000
commit778791d3b92569db42d483d18167a4fb8e8f9807 (patch)
treeb20258a8ca8b29186943c502996628410ff7adb9
parent67da5dc5fdc8b87885dacce68529e794c20a8126 (diff)
downloadpango-778791d3b92569db42d483d18167a4fb8e8f9807.tar.gz
pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) Fix problems where
Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3): Fix problems where the coverage wasn't being checked for the first input glyph. (#118639, Kailash C. Chowksey)
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-1-107
-rw-r--r--ChangeLog.pre-1-47
-rw-r--r--ChangeLog.pre-1-67
-rw-r--r--ChangeLog.pre-1-87
-rw-r--r--pango/opentype/ftxgpos.c7
-rw-r--r--pango/opentype/ftxgsub.c7
7 files changed, 41 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index d46611de..e4e9acb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
+ * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
+ Fix problems where the coverage wasn't being checked
+ for the first input glyph. (#118639, Kailash C. Chowksey)
+
Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (EXTRA_DIST): add testfonts.c to
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index d46611de..e4e9acb3 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,10 @@
+Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
+ * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
+ Fix problems where the coverage wasn't being checked
+ for the first input glyph. (#118639, Kailash C. Chowksey)
+
Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (EXTRA_DIST): add testfonts.c to
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index d46611de..e4e9acb3 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,10 @@
+Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
+ * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
+ Fix problems where the coverage wasn't being checked
+ for the first input glyph. (#118639, Kailash C. Chowksey)
+
Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (EXTRA_DIST): add testfonts.c to
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index d46611de..e4e9acb3 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,10 @@
+Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
+ * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
+ Fix problems where the coverage wasn't being checked
+ for the first input glyph. (#118639, Kailash C. Chowksey)
+
Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (EXTRA_DIST): add testfonts.c to
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index d46611de..e4e9acb3 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,10 @@
+Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
+ * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
+ Fix problems where the coverage wasn't being checked
+ for the first input glyph. (#118639, Kailash C. Chowksey)
+
Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (EXTRA_DIST): add testfonts.c to
diff --git a/pango/opentype/ftxgpos.c b/pango/opentype/ftxgpos.c
index f3ce13cd..deebe89e 100644
--- a/pango/opentype/ftxgpos.c
+++ b/pango/opentype/ftxgpos.c
@@ -5646,11 +5646,10 @@
s_in = &in->string[curr_pos];
ic = ccpf3->InputCoverage;
- /* Start at 1 because [0] is implied */
-
- for ( i = 1, j = 1; i < igc; i++, j++ )
+ for ( i = 0, j = 0; i < igc; i++, j++ )
{
- while ( CHECK_Property( gdef, s_in[j], flags, &property ) )
+ /* We already called CHECK_Property for s_in[0] */
+ while ( j > 0 && CHECK_Property( gdef, s_in[j], flags, &property ) )
{
if ( error && error != TTO_Err_Not_Covered )
return error;
diff --git a/pango/opentype/ftxgsub.c b/pango/opentype/ftxgsub.c
index d5850f31..d9a77d63 100644
--- a/pango/opentype/ftxgsub.c
+++ b/pango/opentype/ftxgsub.c
@@ -3811,11 +3811,10 @@
s_in = &in->string[curr_pos];
ic = ccsf3->InputCoverage;
- /* Start at 1 because [0] is implied */
-
- for ( i = 1, j = 1; i < igc; i++, j++ )
+ for ( i = 0, j = 0; i < igc; i++, j++ )
{
- while ( CHECK_Property( gdef, s_in[j], flags, &property ) )
+ /* We already called CHECK_Property for s_in[0] */
+ while ( j > 0 && CHECK_Property( gdef, s_in[j], flags, &property ) )
{
if ( error && error != TTO_Err_Not_Covered )
return error;