Skip to content

Releases: bpampuch/pdfmake

0.1.54

17 Mar 07:20
Compare
Choose a tag to compare
  • fix page numbers for ToC with unbreakable content
  • updated fontkit to 1.8.0 for fix font problems
  • fix check for supported browsers
  • fix support file-saver on mobile devices
  • fix building pdfmake with pdf standard fonts

0.1.53

17 Feb 14:53
Compare
Choose a tag to compare
  • update file-saver to 2.0.1 witch solves used twice (issue #1634)

0.1.52

17 Feb 07:23
Compare
Choose a tag to compare
  • fix bug with creating links and set document info in client-side (in browser)

0.1.51

10 Feb 10:38
Compare
Choose a tag to compare
  • fix table fill color render with dontBreakRows

0.1.50

02 Feb 06:52
Compare
Choose a tag to compare
  • pdfkit updated to 0.9.0
  • fontkit updated to 1.7.8
  • Solved heavy use of memory
  • Supported PNG with alpha channel
  • Add encryption and access privileges, example of usage:
var docDefinition = {
	//userPassword: '123',
	ownerPassword: '123456',
	permissions: {
		printing: 'highResolution', //'lowResolution'
		modifying: false,
		copying: false,
		annotating: true,
		fillingForms: true,
		contentAccessibility: true,
		documentAssembly: true
	},
	content: [
		'...'
	]
};

0.1.41

27 Jan 14:26
Compare
Choose a tag to compare
  • Table of Content: custom number style to toc item (tocNumberStyle)
  • browser: add getStream method for receive pdfkit document

Bugfixes:

  • ordered list: fix ignored properties start and count with value 0
  • removed setImmediate polyfill because is not allowed on sites with Content Security Policy (CSP)
  • fix redering fill color in table with borders

0.1.40

22 Dec 12:28
Compare
Choose a tag to compare
  • updated default Roboto font to latest version 2.137
  • updated file-saver to 2.0.0 and removed hacks for Web Worker
  • implemented text opacity
  • allow passing tableLayouts, fonts and vfs to createPdf instead of using global pdfMake. pdfMake.createPdf(docDefinition, tableLayouts, fonts, vfs) (see readme)

Bugfixes:

  • fixed text opacity after transparent image

0.1.39

10 Nov 14:33
Compare
Choose a tag to compare
  • implemented border style for table (see example)
  • implemented image opacity support (opacity property )
  • implemented ability to preserve trailing white space (preserveTrailingSpaces property)

Bugfixes:

  • fixed returing wrong y position after added repeatables
  • fixed fillOpacity changes for following images

0.1.38

01 Sep 05:41
Compare
Choose a tag to compare
  • added support for elements in text inlines for: pageReference, textReference, tocItem and property id (for pageReference, textReference and toc), see page reference example, ToC example and simple example:
{
	text: [
		{text: 'some sample text '},
		{pageReference: ["element-id"]}
	]
}

output is:

some sample text 2

(element with id "element-id" suppose in page 2)

Bugfixes:

  • fixed text decorations with justified text (#1418)
  • fixed calculating page height with option pageSize.height = 'auto'
  • throw nice error message when page reference id not found
  • fixed preprocessing text inlines
  • fixed text inlines wrapping with styles, eg. "remarkable" is now wrapped as one item (#975)
  • fixed printing repeatable headers for table in second column (#434)

0.1.37

23 Jun 14:55
Compare
Choose a tag to compare
  • new option bufferPages for pages buffering, example: var pdfKitDoc = printer.createPdfKitDocument(docDefinition, {bufferPages: true});
  • added second parameter to background function with page size
  • improved casting null and undefined
  • allows to register binary data in virtual file system

Bugfixes:

  • fix for multi-item backgrounds