diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-07-25 02:08:48 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-07-25 02:08:48 +0000 |
commit | 90ddba2c9701ee72f09ee1c11f87b1327cbcd539 (patch) | |
tree | 3595b58fa4677c89bcfb1c03f43472d58d59c6be /pango/pango-script.c | |
parent | 83723181b018b2340864d661c9b4b7dabb854ade (diff) | |
download | pango-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 'pango/pango-script.c')
-rw-r--r-- | pango/pango-script.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pango/pango-script.c b/pango/pango-script.c index 4435f393..f1cf5ed6 100644 --- a/pango/pango-script.c +++ b/pango/pango-script.c @@ -108,7 +108,7 @@ pango_script_for_unichar_bsearch (gunichar ch) } while (lower <= upper); - return PANGO_SCRIPT_COMMON; + return PANGO_SCRIPT_UNKNOWN; } /** @@ -578,7 +578,14 @@ pango_script_get_sample_language (PangoScript script) /* Syloti Nagri is used for Sylheti, no ISO 639 code */ "", /* PANGO_SCRIPT_SYLOTI_NAGRI */ "peo", /* PANGO_SCRIPT_OLD_PERSIAN */ - "", /* PANGO_SCRIPT_KHAROSHTHI */ + "", /* PANGO_SCRIPT_KHAROSHTHI */ + + "", /* PANGO_SCRIPT_UNKNOWN */ + "", /* PANGO_SCRIPT_BALINESE */ + "", /* PANGO_SCRIPT_CUNEIFORM */ + "", /* PANGO_SCRIPT_PHOENICIAN */ + "", /* PANGO_SCRIPT_PHAGS_PA */ + "" /* PANGO_SCRIPT_NKO */ }; const char *sample_language; |