diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 10 | ||||
-rw-r--r-- | pango/pango-script-table.h | 2 | ||||
-rwxr-xr-x | tools/gen-script-table.pl | 8 |
4 files changed, 25 insertions, 5 deletions
@@ -1,5 +1,15 @@ 2005-06-14 Owen Taylor <otaylor@redhat.com> + * pango/pango-script-table.h (struct): Hand edit + to fix a bug in the 4.0.0 data tables. + (#173096, Sukhjinder Sidhu) + + * tools/gen-script-table.pl: Some updates to handle + newer formats (not actually regenerating tables at the + moment, since the changes are large) + +2005-06-14 Owen Taylor <otaylor@redhat.com> + #307433, Sebastien Bacher * Makefile.am (EXTRA_DIST): Name the Change.pre-* diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 042e2167..695c6215 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,5 +1,15 @@ 2005-06-14 Owen Taylor <otaylor@redhat.com> + * pango/pango-script-table.h (struct): Hand edit + to fix a bug in the 4.0.0 data tables. + (#173096, Sukhjinder Sidhu) + + * tools/gen-script-table.pl: Some updates to handle + newer formats (not actually regenerating tables at the + moment, since the changes are large) + +2005-06-14 Owen Taylor <otaylor@redhat.com> + #307433, Sebastien Bacher * Makefile.am (EXTRA_DIST): Name the Change.pre-* diff --git a/pango/pango-script-table.h b/pango/pango-script-table.h index ae9753bc..5145cce1 100644 --- a/pango/pango-script-table.h +++ b/pango/pango-script-table.h @@ -84,7 +84,7 @@ static const struct { { 0x09dc, 2, PANGO_SCRIPT_BENGALI }, { 0x09df, 5, PANGO_SCRIPT_BENGALI }, { 0x09e6, 12, PANGO_SCRIPT_BENGALI }, - { 0x0a02, 2, PANGO_SCRIPT_GURMUKHI }, + { 0x0a01, 3, PANGO_SCRIPT_GURMUKHI }, { 0x0a05, 6, PANGO_SCRIPT_GURMUKHI }, { 0x0a0f, 2, PANGO_SCRIPT_GURMUKHI }, { 0x0a13, 22, PANGO_SCRIPT_GURMUKHI }, diff --git a/tools/gen-script-table.pl b/tools/gen-script-table.pl index 6b524ef7..a2f81f54 100755 --- a/tools/gen-script-table.pl +++ b/tools/gen-script-table.pl @@ -21,14 +21,14 @@ while (<IN>) { s/#.*//; next if /^\s*$/; - if (!/^([0-9A-F]+)(?:\.\.([0-9A-F]+))?\s+;\s+([A-Z_]+)\s+$/) { - die "Cannot parse line: $_\n"; + if (!/^([0-9A-F]+)(?:\.\.([0-9A-F]+))?\s*;\s*([A-Za-z_]+)\s*$/) { + die "Cannot parse line: '$_'\n"; } if (defined $2) { - push @ranges, [ hex $1, hex $2, $3 ]; + push @ranges, [ hex $1, hex $2, uc $3 ]; } else { - push @ranges, [ hex $1, hex $1, $3 ]; + push @ranges, [ hex $1, hex $1, uc $3 ]; } } |