Skip to content

Releases: foliojs/pdfkit

0.16.0

29 Dec 09:45
Compare
Choose a tag to compare
  • Update fontkit to 2.0
  • Update linebreak to 1.1
  • Add support for spot colors
  • Add support to scale text horizontally
  • Add an option to keep the indentation after a new line starts and allow to indent a whole paragraph/text element
  • Add Name property for set custom icon for note()
  • Fix sets tab order to "Structure" when a document is tagged
  • Fix font cache collision for fonts with missing postscript name or bad TTF metadata or identical metadata for different fonts
  • Fix for embedding fonts into PDF (font name must not contain spaces)
  • Fix measuring text when OpenType features are passed in to .text()

0.15.2

15 Dec 13:00
Compare
Choose a tag to compare
  • Fix index not counting when rendering ordered lists (#1517)
  • Fix PDF/A3 compliance of attachments
  • Fix CIDSet generation only for PDF/A1 subset
  • Fix missing acroform font dictionary
  • Fix modify time comparison check equality embedded files

0.15.1

30 Oct 13:33
Compare
Choose a tag to compare
  • Fix browserify transform sRGB_IEC61966_2_1.icc file
  • Fix time comparison check equality embedded files

0.15.0

24 Mar 01:24
Compare
Choose a tag to compare
  • Add subset for PDF/UA
  • Fix for line breaks in list items (#1486)
  • Fix for soft hyphen not being replaced by visible hyphen if necessary (#457)
  • Optimize output files by ignoring identity transforms
  • Fix for Acroforms - setting an option to false will still apply the flag (#1495)
  • Fix for text extraction in PDFium-based viewers due to invalid ToUnicodeMap (#1498)
  • Remove deprecated write method
  • Drop support for Node.js < 18 and for browsers released before 2020

0.14.0

09 Nov 07:35
Compare
Choose a tag to compare
  • Add support for PDF/A-1b, PDF/A-1a, PDF/A-2b, PDF/A-2a, PDF/A-3b, PDF/A-3a
  • Update crypto-js to v4.2.0 (properly fix security issue)

0.13.0

24 Oct 11:51
Compare
Choose a tag to compare
  • Add tiling pattern support

0.12.1

01 Jul 15:48
Compare
Choose a tag to compare
  • Update crypto-js to v3.3 (fix security issue)
  • Update fontkit to 1.8.1

v0.12.0

10 Apr 13:56
Compare
Choose a tag to compare
  • Add support for Embedded Files and File Attachment Annotations
  • Accessibility support
  • Replace integration tests by visual regression tests
  • Fix access permissions in PDF version 1.7ext3
  • Fix Buffer() is deprecation warning
  • Add forms.md to generate documentation files
  • Fix "@" in FontName

v0.11.0

30 Jun 13:52
0fc21a7
Compare
Choose a tag to compare
  • Fix infinite loop when an individual character is bigger than the width of the text.
  • Fix infinite loop when text is positioned after page right margin
  • Allow links in continued text to be stopped by setting link to null
  • Add support to interlaced PNG files
  • Do not emit _interopDefault helper in commonjs build
  • Fix gradient with multiple stops (#1045)
  • Set link annotation flag to print by default
  • Add support for AcroForms
  • Drop support for (uncommon) cid less fonts on standalone build (reduces bundle size)

v0.10.0

06 Jun 23:42
Compare
Choose a tag to compare
  • Fix links to pages within the document
  • Add support for named destinations
  • Throw errors when dash(...) is passed invalid lengths
  • Remove PDFDocument#output method
  • Add standalone build (js/pdfkit.standalone.js)