[HarfBuzz] Shape plan and user features

Behdad Esfahbod behdad at behdad.org
Sat Dec 17 22:06:28 UTC 2016

On Thu, Oct 20, 2016 at 4:04 AM, Khaled Hosny <khaledhosny at eglug.org> wrote:

> It is not clear whether I should pass user features to
> hb_shape_plan_create_cached(), hb_shape_plan_execute() or both. If I
> pass them to the former but not the later features will be applied just
> fine, but if I do the reverse they will not, so when do I need to pass
> the features to hb_shape_plan_execute()?

You need to pass the same features to plan_execute().  The plan_create call
just cares about whether a feature is global or has a range.  It doesn't
care about the actual range.

> Regards,
> Khaled
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20161217/dfdeb6e6/attachment.html>

More information about the HarfBuzz mailing list