A couple of bugfixes, improved font handling and faster compression.
- #3026: Fix alignment of links created with
- #3032: Fix alignment of table headers
- #3062: Fix a bug where the
options.flagsparameter was ignored by the
textmethod 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
fontFacesoption for the
htmlmethod that allows to add fonts similar CSS
addFontcalls 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.