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 the text 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 the html method that allows to add fonts similar CSS @font-face rules (no addFont 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.

项目简介

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/MrRio/jsPDF

发行版本 29

v2.3.1

全部发行版

贡献者 194

全部贡献者

开发语言

  • JavaScript 96.5 %
  • TypeScript 2.4 %
  • HTML 1.2 %