On 06/24/11 05:27, Grigori Goronzy wrote:
>> > Wouldn't it be more usefull to guess the script based on the Unicode
>> > ranges the chars are in based on the http://www.unicode.org/charts table?
>> > 
> HarfBuzz should do this automatically if you don't explicitly set the
> script of a hb_buffer. This seems to work fine for me here, at least.

Correct.

The way to get to that functionality more directly is to call
hb_unicode_funcs_get_default(), and with the returned object call
hb_unicode_get_script().  That works on a single Unicode character.

behdad
_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to