- Add support for old fonts with OS/2 v0 tables.
- Use node.js
Buffer
instead ofmicrobuffer
module internally. require('ttf2eot')(buf)
now acceptsUint8Array
and returnsUint8Array
instead ofmicrobuffer
(you now should useresult
directly instead ofresult.buffer
).
- Maintenance release.
- Drop old nodes support.
- Deps, CS update, tests.
- API change: now lib takes Array/Uint8Array as TTF data, and return ByteBuffer object. ByteBuffer.buffer contains Array/Uint8Array with EOT file.
- Removed
Buffer
dependency, should work in browser too.
- Separated CLI to make script useable as library (node.js package)
- Fixed compatibility with original CLI params format
- First release.