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

Tom Hacohen tom.hacohen at partner.samsung.com
Tue Feb 1 23:04:56 PST 2011


On Tue, 2011-02-01 at 14:03 -0500, Behdad Esfahbod wrote:
Thank you very much, weird that I missed it.

> I'm not quite satisfied with this scheme.  The problem with it is that if/when
> new callbacks are added to hb_font_funcs_t, your code needs to be updated to
> relay those.  Would have been much nicer if they falled through automatically
> (so you could in essence really subclass a font_funcs_t).  I'll think more
> about it to see if I can make that happen.

I guess you should add docs that suggest people to use
"hb_ft_get_font_funcs" (or whatever engine they are using) or something
to set the base and then they should override.

Anyhow, thanks a lot, weird I missed it, because I did skimmed through
the headers.

Thanks a lot,
Tom.




More information about the HarfBuzz mailing list