[HarfBuzz] Inheriting/copying font functions
Behdad Esfahbod
behdad at behdad.org
Sun May 15 13:43:37 PDT 2011
On 05/15/11 07:51, Tom Hacohen wrote:
> On Thu, 2011-05-12 at 10:17 +0300, Tom Hacohen wrote:
>> My code now looks like:
>>
>> hb_ft_font = hb_ft_font_create(ft_face, NULL);
>> hb_font = hb_font_create_sub_font(hb_ft_font);
>>
>> hb_font_set_funcs(hb_font, my_font_funcs_get(), my_data,NULL);
>>
>> hb_shape(hb_font, buffer, NULL, 0);
>>
>> hb_font_destroy(hb_font);
>> hb_font_destroy(hb_ft_font);
>>
>> my_font_funcs_get() return my font functions that have either nil or my
>> implementation alternatives.
>
> Oops, forgot to ask, is this correct?
Looks right.
behdad
> Thanks,
> Tom.
>
>
More information about the HarfBuzz
mailing list