Skip to content

Releases: bpampuch/pdfmake

0.1.32

31 Jul 15:08
Compare
Choose a tag to compare
  • add leading indent (use leadingIndent)
  • add preserving leading spaces (use preserveLeadingSpaces: true)
  • add unbreakable attribute to elements
  • updated pdfkit to 0.8.3
  • updated fontkit to 1.7.7

Bugfixes:

  • fix rendering after an empty list of columns

0.1.31

10 Jun 15:22
Compare
Choose a tag to compare
  • updated fontkit to 1.7.5

Bugfixes:

  • fix oversized images if they are the only item on a page
  • fix overlap footer with paddingBottom in table

0.1.30

01 Jun 17:41
Compare
Choose a tag to compare
  • updated fontkit to 1.7.2

Bugfixes:

  • fix pageBreakBefore error
  • fix colSpan error

0.1.29

30 May 17:38
Compare
Choose a tag to compare
  • improved performance significantly
  • updated pdfkit to 0.8.2
  • updated fontkit to 1.7.1 (add indic shaper)
  • simple table of contents (see examples)
  • colored QR codes (example: {qr: 'text', foreground: 'red', background: 'yellow'} )
  • support for "hard" wrapping non-wrappable long words

Bugfixes:

  • fixed colSpan line rendering bug in table header

0.1.28

29 Apr 09:17
Compare
Choose a tag to compare
  • new feature characterSpacing for text
  • added new optional parameter win to methods open() and print() for asynchronous operations (see readme)
  • new parameters minWidth, maxWidth, minHeight, maxHeight for image (#938)
  • supported setting own document metadata (see readme)
  • new feature linkToPage for text (see readme)

Bugfixes:

  • fix static header, footer for images
  • fix background color with justification
  • fix web worker compatibility (no hacks are needed)
    • Attention! You need regenerate file vfs_fonts.js for full support.

0.1.27

25 Mar 09:47
Compare
Choose a tag to compare
  • improved performance (partly)
  • new fontkit version 1.5.4
  • removed webpack hacks for fontkit

0.1.26

26 Feb 13:10
Compare
Choose a tag to compare
  • improved unordered and ordered lists
    • colored lists (color, markerColor)
    • type of unordered list: disc (default), circle, square, none
    • type of ordered list: decimal (default), upper-alpha, lower-alpha, upper-roman, lower-roman, none
    • add atributes for ordered list - separator, start, reversed
    • see examples
  • add progress callback option (#851)
  • add getBlob method to browser version
  • update to webpack 2

Bugfixes:

  • fix calculation auto page height
  • fix noWrap
  • fix calculate width in text page with other pageOrientation
  • fix wrong page orientation in first page

Note:
This version contains in webpack temporary bugfixies for fontkit 1.5.2 issues: foliojs/fontkit#65, foliojs/fontkit#66

0.1.25

29 Jan 09:57
Compare
Choose a tag to compare
  • support for auto height page (pageSize.height = 'auto')
  • table layout: added fillColor function (eg. fillColor: function (i, node) { return 'red'; }), see examples
  • virtual file system: added throw error if file not found
  • added check for window blocked
  • rewrited performance hack (stream.read(9007199254740991)) to core pdfmake

Bugfixes:

  • fixed compatibility with fontkit version 1.5.2
  • fix noWrap
  • fix calculate width in text page with other pageOrientation
  • added linebreak package as dependency (package.json)

Note:
This version contains in webpack temporary bugfixies for fontkit 1.5.2 issues: foliojs/fontkit#65, foliojs/fontkit#66

0.1.24

08 Jan 12:09
Compare
Choose a tag to compare
  • grunt removed
  • new fontkit version 1.5.2
  • support for TrueType Collection (.ttc) (#801)
  • update Roboto font to latest version
  • add bold+italics Roboto font type
    var defaultClientFonts = {
        Roboto: {
            normal: 'Roboto-Regular.ttf',
            bold: 'Roboto-Medium.ttf',
            italics: 'Roboto-Italic.ttf',
            bolditalics: 'Roboto-MediumItalic.ttf'
        }
    };

Bugfixes:

  • fixed compatibility with fontkit version 1.5.2
  • improved fix for embeded exception
  • remove unwanted sourceMappingURL in build file

Note:
This version contains in webpack temporary bugfix for fontkit 1.5.2 issue: foliojs/fontkit#65

0.1.23

29 Dec 07:13
Compare
Choose a tag to compare

Features:

  • the Unicode Line Breaking Algorithm (UAX #14) is used for splitting words (supports also Chinese)
  • support link for images
  • linear gradient for rect (#792)
  • relative positioning (#793)
  • can set maximum number of pages to render (#797)
  • text formatted number is cast to string (similarly for boolean and null)
  • optimize performance in normalize document definition

Bugfixes:

  • fixed embeded exception
  • fixed margin reset after page break
  • fixed links support
  • fixed drawing text to baseline
  • fixed QR code generated is mirror and rotated 90 degrees
  • don't add up the QR code horizontal offset