-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: enable usage in browser by providing font array buffer #22
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22 +/- ##
======================================
Coverage ? 0
======================================
Files ? 0
Lines ? 0
Branches ? 0
======================================
Hits ? 0
Misses ? 0
Partials ? 0 Continue to review full report at Codecov.
|
@princjef can you please take a look at this and tell if it's ok. This will enable xterm ligatures addon to be used inside browsers compared to being electron only at the moment. |
Hey @LabhanshAgrawal sorry for the delay. The code looks good. Could you add an entry to the API documentation in the README noting the new |
Done |
c49ae2e
to
b5eff14
Compare
# [1.4.0](v1.3.3...v1.4.0) (2021-03-09) ### Features * enable usage in browser by providing font array buffer ([#22](#22)) ([b8abbcd](b8abbcd))
🎉 This PR is included in version 1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Added a function to create the Font object from ArrayBuffer of the font
Adding this to make it possible to use this library in the browser with font data from font access API, see this comment in xtermjs/xterm.js#958