summaryrefslogtreecommitdiff
path: root/tools/gen-script-for-lang.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-07-25 02:08:48 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-07-25 02:08:48 +0000
commit90ddba2c9701ee72f09ee1c11f87b1327cbcd539 (patch)
tree3595b58fa4677c89bcfb1c03f43472d58d59c6be /tools/gen-script-for-lang.c
parent83723181b018b2340864d661c9b4b7dabb854ade (diff)
downloadpango-90ddba2c9701ee72f09ee1c11f87b1327cbcd539.tar.gz
Update to UCD 5.0.0.
2006-07-24 Behdad Esfahbod <behdad@gnome.org> * pango/mini-fribidi/fribidi_tab_char_type_2.i: Update to UCD 5.0.0. * pango/mini-fribidi/README: Note the about update. * pango/pango-script.h: Add new values for PangoScript. * pango/pango-script.c (pango_script_for_unichar_bsearch): Default to PANGO_SCRIPT_UNKNOWN. * pango/pango-script.c (pango_script_get_sample_language): Add empty entries for new script values. * tools/gen-script-table.pl: Default to PANGO_SCRIPT_UNKNOWN as is now the default value of Scripts.txt in UCD 5.0.0. * pango/pango-script-table.h: Regenerated against UCD 5.0.0. * docs/tmpl/scripts.sgml: Document new script types. * tools/gen-script-for-lang.c (scripts_for_line): Ignore data at the end of lines as many .orth files in fontconfig now list the character name there. * pango/pango-script-lang-table.h: Regenerate against newer fontconfig 2.3.9x.
Diffstat (limited to 'tools/gen-script-for-lang.c')
-rw-r--r--tools/gen-script-for-lang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gen-script-for-lang.c b/tools/gen-script-for-lang.c
index 707a1abe..0e1f5f76 100644
--- a/tools/gen-script-for-lang.c
+++ b/tools/gen-script-for-lang.c
@@ -122,8 +122,12 @@ scripts_for_line (const char *base_dir,
pango_skip_space (&p);
}
+
+ /* The rest of the line is ignored */
+ /*
if (*p != '\0')
goto err;
+ */
for (ch = start_char; ch <= end_char; ch++)
{