-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[layout] hb_ot_layout_lookup_get_glyph_alternates, a new API #2471
Conversation
just to mention, it works with Rana Kufi also very well as it was the font I was using for testing initially. |
Thanks @ebraminio. This is very nice! Generally we push most of the parameters from the API down to where they are populated. Instead you pull out the internal array and copy in the public API. Any particular reason you did it that way? If not, I prefer it if you do it the way other methods are done. Thanks again! |
PTAL |
fca8a9a
to
8b0b80d
Compare
An API to retrieve one-to-one alternates from a given GSUB lookup index.
8b0b80d
to
c89dc63
Compare
c89dc63
to
d3c1697
Compare
Quick show of hands if name should be I feel like The The As of now I prefer the second one, |
Yeah, Does this handle alternates referenced via an Extension subtable? |
Doesn't. I'll address that in my review. |
Continuing in #2473 |
Fixes #673
As #673 (comment) proposal, let's see how it goes.
Used the following to find a font having alternates,