[HarfBuzz] Is it possible to use HarfBuzz instead of GLib for Unicode functions?

Mehdi Sadeghi mehdi at mehdix.ir
Sun Oct 25 13:18:58 UTC 2020


Dear all,

I am currently using the following GLib functions in order to recognize
certain charachteristics of the input text, such as script type (Arabic
or Latin) and category:

- g_unichar_get_script
- g_unichar_isalnum
- g_unichar_isalpha
- g_unichar_isdigit

I see HarfBuzz used to come with UCDN and now has its own
implementation. I wonder whether I can replace above GLib functions
using that or in general using HarfBuzz.

I would appreciate if someone gives me some hints, references or
perhaps examples on this.

Please excuse my naivety in advance if this is some crystal clear topic
and I have missed some obvious points, docs, etc.

Thank you,
Mehdi



More information about the HarfBuzz mailing list