[HarfBuzz] Streamlining hb_font_t some more

Konstantin Ritt ritt.ks at gmail.com
Fri Oct 2 10:08:54 PDT 2015


Sounds just great!

2015-10-02 19:51 GMT+03:00 Behdad Esfahbod <behdad at behdad.org>:

>   - Make all fonts have a parent; for fonts created with hb_font_create(),
> they will default to the hb_font_get_empty() font as their parent.  This
> changes the return value of hb_font_get_parent() for most fonts, but I
> don't
> think any clients rely on that.  The get_parent() for the empty font will
> continue to return NULL.
>

I do not really understand why...
Do we really want to
    while (hb_font_get_parent(font) != hb_font_get_empty())
        font = hb_font_get_parent(font);
?


Regards,
Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20151002/80dc56a6/attachment.html>


More information about the HarfBuzz mailing list