> Originally I wanted to change hb_ft_face_create() and > hb_ft_font_create() to reference the face if destroy==NULL was > passed in. That would improve pretty much all clients, with > little undesired effects. Except that FreeType itself, when > compiled with HarfBuzz support, calls hb_ft_font_create() with > destroy==NULL and saves the resulting hb-font on the ft-face > (why does it not free it immediately?).
Looks like a buglet in FreeType – always remember that HarfBuzz documentation is zero, and my experience with your baby child is too limited to write elegant code... If you provide a patch I'll gladly apply it :-) Werner _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz