On Sat, Sep 14, 2019 at 4:54 PM Eli Zaretskii <[email protected]> wrote: > Hi, > > AFAIU, HarfBuzz does support Stylistic Sets, but it is not clear to me > what should an application do to request glyphs corresponding to a > certain stylistic set. > > Suppose an application wants to display a text string using a specific > stylistic set -- could someone please outline the sequence of API > calls to get that, or point me to some documentation which describes > that? >
Hi, Eli. I think it must be a matter of enabling features explicitly, in case you're asking about it would be features ss01-ss20, see hb_shape() arguments documentation. Basically, you set hb_feature_t fields to appropriate tag, value (1 for enabled), and start/end limits. That should do it. > > TIA > _______________________________________________ > HarfBuzz mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/harfbuzz
_______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
