Skip to content

Releases: foliojs/pdfkit

v0.7.0

15 Sep 18:49
Compare
Choose a tag to compare

This is a big release. I'd like to thank the contributors listed below for making this possible!

  • Adds support for an optional page buffering feature where you can go back to previous pages to add things like page numbers. Thanks to @ef4. See #302 for the PR, and here for some docs.
  • Fixes indent with the continued option for text. Thanks @ef4. See #300.
  • Fixes center-aligned text with the characterSpacing option. Thanks again @ef4. See #301.
  • Works around missing ascender in ZapfDingbats font. Thanks @ef4. See #303.
  • Fixes an infinite loop when the first word of a text call is longer than the space available in the line. @ef4 again (this guy is awesome!). See #309.
  • Avoids unnecessarily breaking inside words when using continued. @ef4 deserves a medal. See #308.
  • Fixes TTF parsing when PDFKit is minified. Thanks to @yelouafi for this one. See #306.

v0.6.5

29 Aug 15:51
Compare
Choose a tag to compare
  • Fixes unicode in annotations (#287)

v0.6.4

27 Aug 23:26
Compare
Choose a tag to compare
  • Fixes cmap reading (#276) and some uint32 reading. Thanks @mishoo!

v0.6.3

29 Jul 16:54
Compare
Choose a tag to compare
  • Support for new image valign option. It works like the align option but vertically inside the fit area.
  • Support for using ArrayBuffers and Uint8Arrays for loading fonts in the browser.

v0.6.2

10 May 17:26
Compare
Choose a tag to compare
  • Fixes dependencies for browser demo (brfs broke something in a new version). PR #234
  • Support base64 images - useful in the browser. PR #235
  • Improves underlines for small font sizes. PR #237
  • Removes text state tracking since it wasn't working. Fixes #224. PR #238

Thanks to @ryanwersal for these contributions!

v0.6.1

14 Apr 17:08
Compare
Choose a tag to compare
  • Removes use of trimRight method, which doesn't exist in some browsers (cough IE cough).

v0.6.0

14 Apr 06:04
Compare
Choose a tag to compare
  • Adds support for using PDFKit in the browser! See the documentation in the readme.
  • Adds support for using Buffers as the source for the font method
  • Fixes some issues with font cmaps

I'm including a prebuilt version of PDFKit here, along with a source map. You can use these if you don't want to use browserify to build your project.