<div dir="ltr"><div>Hi Mehdi,</div><div><br></div><div>On Sun, Oct 25, 2020 at 7:24 AM Mehdi Sadeghi <<a href="mailto:mehdi@mehdix.ir">mehdi@mehdix.ir</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all,<br>
<br>
I am currently using the following GLib functions in order to recognize<br>
certain charachteristics of the input text, such as script type (Arabic<br>
or Latin) and category:<br>
<br>
- g_unichar_get_script<br></blockquote><div><br></div><div>We have this one: hb_unicode_script(). Combine that with hb_unicode_funcs_get_default().</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- g_unichar_isalnum<br>
- g_unichar_isalpha<br>
- g_unichar_isdigit<br></blockquote><div><br></div><div>We don't have these.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I see HarfBuzz used to come with UCDN and now has its own<br>
implementation. I wonder whether I can replace above GLib functions<br>
using that or in general using HarfBuzz.<br>
<br>
I would appreciate if someone gives me some hints, references or<br>
perhaps examples on this.<br>
<br>
Please excuse my naivety in advance if this is some crystal clear topic<br>
and I have missed some obvious points, docs, etc.<br>
<br>
Thank you,<br>
Mehdi<br>
<br>
_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
</blockquote></div></div>