-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Enable using ligatures addon outside electron #3264
Conversation
This didn't seem to work for me with Fira Code and any of the 3 renderers (I think only dom and maybe canvas works with ligatures atm?). Any hints to get it to work? I enabled the chrome flag. |
After checking this out you'd have to do a Also, I guess I need to look into the tests. |
Also, you'd need to relaunch chrome after changing the flag. (I don't remember if it asks for relaunch itself) |
@Tyriar did it work for you? |
Oh actually, it does work after that and setting the font. The prompt is a bit of a pain though that it needs user action 🤔 |
Since it needs a user action to trigger the permissions prompt
Will add the comments as you mentioned. |
The prompt doesn't come after the first time AFAIK so that should be ok. |
Yep, we'd want to keep it off by default and call this out in the readme though that it may cause a permissions prompt and will require to be hooked up to a "user event". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the hard word 🙂
Thanks for resolving the tests and merging it 😊. |
Based on the discussion from #958
To test this in the demo make sure to enable
#font-access
inchrome://flags
And then set some font with ligatures
Creating as draft right now as I still need to look a bit into the webpack stuff.