[HarfBuzz] Standalone Unicode support library

Behdad Esfahbod behdad at behdad.org
Thu Aug 23 08:48:15 PDT 2012


On 08/19/2012 09:24 AM, Grigori Goronzy wrote:
> Hi everyone,
> 
> I have put together a simple standalone Unicode support library that
> provides just the functionality HarfBuzz needs. This should be useful
> for the people that want to use HarfBuzz on non-Unix platforms. It's
> much, much smaller than ICU or glib, less than 200 KB binary size on
> x86_64, and is implemented in plain C89 with no extra dependencies.
> 
> The library is called UCDN (which stands for Unicode Database and
> Normalization) and is available from Github:
> 
> https://github.com/grigorig/ucdn
> 
> Hangul Jamo (de)composition is not yet implemented, but apart from that
> I haven't found any obvious differences to glib's Unicode functions.

That should be easy to add.  You may also want to hook it up in the test suite
and see if it passes all the tests.

Would you be fine with me importing this into harfbuzz itself?

behdad

> The included HarfBuzz connector hb-ucdn.h makes it really easy to use
> with HarfBuzz: just create a hb_unicode_funcs_t structure with
> hb_ucdn_make_unicode_funcs and pass that to a hb_buffer_t with
> hb_buffer_set_unicode_funcs.
> 
> Best regards
> Grigori



More information about the HarfBuzz mailing list