diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-06-14 22:05:26 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-06-14 22:05:26 +0000 |
commit | 7c9bff2ac1580102fcefcb63fa7a766776ec2a09 (patch) | |
tree | 6a163f706685ba3a03d83f8307985d4ec50d210a /tools | |
parent | a78ac3b76057d5306f14baea390810889f4d8b33 (diff) | |
download | pango-7c9bff2ac1580102fcefcb63fa7a766776ec2a09.tar.gz |
Hand edit to fix a bug in the 4.0.0 data tables. (#173096, Sukhjinder
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)
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gen-script-table.pl | 8 |
1 files changed, 4 insertions, 4 deletions
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 ]; } } |