Frederik De Bleser
Frederik De Bleser
I think we can make two versions if we need to: a version that is just rollup'd, in native ES6, and an ES5 file compiled with Babel. Oh and minfied...
I'm doing this now as a series of PRs: - First step is to move to ES6 modules #290. - Move from var to let / const. - Next step...
The rollup bundling thing is now done!
Thanks @Pomax for the explanation on `var`s. The main advantage for me in using `let` and `const` is to check if I've scoped variables correctly. I agree on the performance...
Both errors have to do with unsupported `cmap` tables. - The `DFBK1B.TTF` font file has a supported cmap sub-table, but with an unsupported format 0. - The `heiti.ttf` font file...
With the introduction of CID-keyed fonts, a lot more of them should now work, although some still miss the correct cmap parsing.
I've added a [`bin/test-render`](https://github.com/nodebox/opentype.js/blob/master/bin/test-render) script that creates the SVG file in the correct format. I've also looked at integrating it into text-rendering-tests, and it shouldn't be too hard. I'll try...
Any other important formats we should support?
Hey @Pomax thanks for clearing that up. It sounds it'll be a good idea to keep all of them and do a lookup through them. Do you know if the...
Sounds like a good idea to me!