[API] Add compose() and decompose() unicode funcs, rename other ones
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jul 2011 03:47:19 +0000 (23:47 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jul 2011 04:09:31 +0000 (00:09 -0400)
commitc4641723fbf6532b2e80a662e15573b31276bc73
treede697c9552af66b0438e5c49d8cdebd26ca4b22c
parentd05dded1676924e8894c90f7a7c3527b492bcdff
[API] Add compose() and decompose() unicode funcs, rename other ones

Add compose() and decompose() unicode funcs.  These implement
pair-wise canonical composition/decomposition.

The glib/icu implementations are lacking for now.  We are adding
API for this to glib, but I cannot find any useful API in ICU.
May end of implementing these in-house.

Changed all unicode_funcs callback names to remove the "_get" part.
Eg, hb_unicode_get_script_func_t is now hb_unicode_script_func_t,
and hb_unicode_get_script() is hb_unicode_script() now.
TODO
src/hb-glib.cc
src/hb-icu.cc
src/hb-ot-shape.cc
src/hb-shape.cc
src/hb-unicode-private.hh
src/hb-unicode.cc
src/hb-unicode.h
test/test-unicode.c