diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-06-29 20:36:45 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-06-29 20:36:45 +0000 |
commit | 4e005cf17476ee08c73e7a1a2fb1133d9008be15 (patch) | |
tree | a516e407fb12f0c397d4acbd25191d93785dd1a3 /modules/arabic/arconv.h | |
parent | 0e6409a158d9dd76a31b9eccf7c4f26c5466d082 (diff) | |
download | pango-4e005cf17476ee08c73e7a1a2fb1133d9008be15.tar.gz |
New version from Karl Koehler merged with the changes for the GLib unicode
Thu Jun 29 16:35:41 2000 Owen Taylor <otaylor@redhat.com>
* modules/arabic/{*.c,Makefile.am}: New version from Karl
Koehler merged with the changes for the GLib unicode functions.
Diffstat (limited to 'modules/arabic/arconv.h')
-rw-r--r-- | modules/arabic/arconv.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/arabic/arconv.h b/modules/arabic/arconv.h index 2e3416d9..04fb135c 100644 --- a/modules/arabic/arconv.h +++ b/modules/arabic/arconv.h @@ -14,13 +14,18 @@ * arabic_reshape: reshapes string ( ordered left-to right visual order ) * len : before: is the length of the string * after : number of nun-NULL characters - * level: 1 : font with basic arabic characters, no vowels - * 2 : with vowels - * 3 : with composed vowels : Shadda+(Fatha,Damma,Kasra) - * 4 : with some extra Ligatures * */ -void arabic_reshape(int* len,gunichar* string,int level); +typedef enum +{ + ar_nothing = 0x0, ar_novowel = 0x1, + ar_standard = 0x2, ar_composedtashkeel = 0x4, + ar_lig = 0x8, + ar_mulefont = 0x10, ar_lboxfont = 0x20, + ar_unifont = 0x40, ar_naqshfont = 0x80 +} arabic_level; + +void arabic_reshape(int* len,gunichar* string,arabic_level level); int arabic_isvowel(gunichar s); #endif |