summaryrefslogtreecommitdiff
path: root/pango/pango-script.h
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 /pango/pango-script.h
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 'pango/pango-script.h')
-rw-r--r--pango/pango-script.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/pango/pango-script.h b/pango/pango-script.h
index d7926913..ee1859d0 100644
--- a/pango/pango-script.h
+++ b/pango/pango-script.h
@@ -103,7 +103,15 @@ typedef enum { /* ISO 15924 code */
PANGO_SCRIPT_TIFINAGH, /* Tfng */
PANGO_SCRIPT_SYLOTI_NAGRI, /* Sylo */
PANGO_SCRIPT_OLD_PERSIAN, /* Xpeo */
- PANGO_SCRIPT_KHAROSHTHI /* Khar */
+ PANGO_SCRIPT_KHAROSHTHI, /* Khar */
+
+ /* Unicode-5.0 additions */
+ PANGO_SCRIPT_UNKNOWN, /* Zzzz */
+ PANGO_SCRIPT_BALINESE, /* Bali */
+ PANGO_SCRIPT_CUNEIFORM, /* Xsux */
+ PANGO_SCRIPT_PHOENICIAN, /* Phnx */
+ PANGO_SCRIPT_PHAGS_PA, /* Phag */
+ PANGO_SCRIPT_NKO /* Nkoo */
} PangoScript;
PangoScript pango_script_for_unichar (gunichar ch);