-
Notifications
You must be signed in to change notification settings - Fork 621
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
API to get list of active features in a buffer? #561
Comments
cc @adrientetar |
I thought it's probably best not to display those since default enabled features will change as you type a character in a given script making it confusing to the user. So currently what I do is:
|
Let me know what you think of that. But in any case such API would be useful, I reckon. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This will break features like |
Currently we have I'm not against implementing a Note that I'm suggesting that we expose the features in an |
Also, with this implementation you might get things like As for getting features that are applicable to text in buffer, that's beyond what I can think of exposing right now. The lookup-to-feature backmapping one can collect can be used with the messaging API.... |
I don't think we are going to do anything about this. |
Applications like FontGoggles work fine without this. |
I think we discussed this before, but asking again in case things have changed 😄. It would be beneficial for some applications (e.g. TruFont, Scribus etc.) to get a list of active features in a HarfBuzz buffer so that they can adjust their UI with what feature are currently active and what is not. Bonus points if it can give the ranges for features like
init
,medi
, etc.I might give it a try if such API is OK and I can get some pointers where to look.
The text was updated successfully, but these errors were encountered: