[HarfBuzz] Shape plan and user features

Khaled Hosny khaledhosny at eglug.org
Sun Dec 18 00:02:44 UTC 2016

On Sat, Dec 17, 2016 at 04:06:28PM -0600, Behdad Esfahbod wrote:
> 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.

Good to know, that is what I did already.


More information about the HarfBuzz mailing list