<div dir="ltr">Hi Owen,<div><br></div><div>I had to look up SMuFL.  I see it's been around since 2013.  I never heard about it and don't think anyone I know has either.  I browsed the specification and found it bizarre when it comes to its relationship with OpenType.  But that's out of scope of your project.</div><div><br></div><div>Given that SMuFL hardcodes what the alternates are anyway, I suggest you just use a hardcoded list and don't look into GSUB.  If you still want to, we don't have that API in HarfBuzz yet, but we can converge to adding it quickly I think.  Here's the issue to follow:</div><div><br></div><div>  <a href="https://github.com/harfbuzz/harfbuzz/issues/673">https://github.com/harfbuzz/harfbuzz/issues/673</a></div><div><br></div><div>Cheers,</div><div>behdad</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 2:52 PM Owen Lamb <<a href="mailto:owendlamb@gmail.com">owendlamb@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I tried sending this once, but it apparently went to moderator approval because I wasn't a member of the list. It's been a few days without response, so I decided to sign up for the list and try again. Hopefully it'll make it through this time! My original message is as follows:<br><br>I'm working on a GSoC project for the LilyPond music engraving program, changing the music notation font standard to SMuFL, which ideally supports OpenType features, i.e. ligatures and stylistic alternates. For the most part, we've been using the FreeType library, but since FT doesn't support OT features, I've begun to look elsewhere. HarfBuzz seems like a good choice, as we already use Pango elsewhere in the program, so we already have a dependency on it.<br><br>However, I'm having trouble navigating the documentation, in particular how to read the GSUB table's entire 'salt' lookup subtable at once (and others, as needed), as an easy-to-use format, e.g. std::map. Is there a way to take a font face loaded through FT and extract feature subtables from it in this way?<br><br>Thanks in advance,<br>Owen Lamb</div></div>
_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div>