[HarfBuzz] How to override Harfbuzz's freetype functions?

Behdad Esfahbod behdad at behdad.org
Tue Feb 1 10:45:24 PST 2011


Deron,

You came close, but made a (huge!) mistake.

On 02/01/11 13:09, Deron Kazmaier wrote:
> 
>         funcs = hb_font_funcs_create ();
...
>         hb_buffer_set_unicode_funcs(buffer, funcs );

You are creating a hb_font_funcs_t, but using it as a hb_unicode_funcs_t.
Those two types are different and hold different sets of callbacks.  One is
font specific, the other unicode specific.

I'll answer Tom's question in a separate message.

behdad



More information about the HarfBuzz mailing list