Releases: mapbox/tiny-sdf
Releases · mapbox/tiny-sdf
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
⚠️ Breaking changes
- Change the API to accept an options object instead of arguments:
const tinySdf = new TinySDF({
fontSize: 24,
fontFamily: 'Arial'
});
- Simplify the API down to just a single
draw
method (that calculates glyph metrics by default). - Change the shape of the return value for readability and consistency (see the docs).
- Drop support for Internet Explorer.
- Switch the package to ES Modules syntax.
✨ Other improvements
- Improve performance by up to 20%.
- Add
fontStyle
support. - Fix major performance issues on certain Chrome/GPU combinations.
- Fix an issue where some glyphs where clipped by 1 pixel at the bottom. #33