v2.3.0
A couple of bugfixes, improved font handling and faster compression.
- #3026: Fix alignment of links created with
textWithLink
- #3032: Fix alignment of table headers
- #3062: Fix a bug where the
options.flags
parameter was ignored by thetext
method and consequently had the wrong defaults. This lead to garbled characters sometimes and was a regression to 1.5.3. - #3014: Add typings for internal events API
- #3036: Support for numeric font weights and separation of font weight and font style
- #3040: New
fontFaces
option for thehtml
method that allows to add fonts similar CSS@font-face
rules (noaddFont
calls required anymore). When supplied, fonts are resolved using the CSS 3 font loading algorithm. - #3054: replace pako library with fflate leading to faster compression and smaller bundle sizes.