foliojs / fontkit

An advanced font engine for Node and the browser
1.46k stars 219 forks source link

Add browser specific build #208

Closed blikblum closed 2 years ago

blikblum commented 4 years ago

Add a browser build that inlines file system data (using brfs) so browser projects using it does not need to use brfs themselves

Created PR on top of #196

blikblum commented 4 years ago

This would mean each release even minor ones would be breaking change

RoelN commented 4 years ago

Could this be used to get a proper, ES6 (e.g. not needed to Babel-ify) version of Fontkit to be used in modern browders? How do I got about testing this?

blikblum commented 4 years ago

While this PR is not merged and released, you can try: https://www.npmjs.com/package/fontkit-next

RoelN commented 4 years ago

@blikblum Thanks, using Fontkit-new for the time being. Works nicely.

I agree about deprioritising IE11 in favor of modern browsers!

rememberlenny commented 4 years ago

Anything in particular keeping this from moving forward?

devongovett commented 2 years ago

Should be handled as of https://github.com/foliojs/fontkit/pull/276.