[HarfBuzz] [PATCH] Move two-way glib script conversion functions to be private
Behdad Esfahbod
behdad at behdad.org
Tue Apr 26 16:59:38 PDT 2011
On 04/26/11 02:58, Tom Hacohen wrote:
> On Thu, 2011-04-21 at 14:52 -0400, Behdad Esfahbod wrote:
>> > On 04/21/11 10:00, Tom Hacohen wrote:
>> > The functions are absolutely needed for any serious user of harfbuzz that uses
>> > glib for its unicode data.
>
> Internally, yeah, though what about outside of harfbuzz? What do I need
> it for there? I just use the functions I got from
> "get_unicode_functions" that just return the values already converted to
> what harfbuzz uses.
Right. But, say, if you do your text itemization using glib, like Pango does,
you then need to map your GUnicodeScript to hb_script_t to pass on to
hb_buffer_set_script(). That's why I added these functions.
behdad
More information about the HarfBuzz
mailing list