On 2/1/11 11:45 AM, Behdad Esfahbod wrote:
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

My bad. He would have figured some of it out pretty quick when he tried to compile :-)

The appropriate call is hb_font_set_funcs and is set on a hb_font, not the buffer. I obviously mixed custom callbacks for buffer unicode functions and fonts. Sorry for any confusion.

Deron

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

Reply via email to