Releases: bpampuch/pdfmake
Releases · bpampuch/pdfmake
0.1.32
0.1.31
0.1.30
0.1.29
- 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
- new feature
characterSpacing
fortext
- added new optional parameter
win
to methodsopen()
andprint()
for asynchronous operations (see readme) - new parameters
minWidth
,maxWidth
,minHeight
,maxHeight
forimage
(#938) - supported setting own document metadata (see readme)
- new feature
linkToPage
fortext
(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.
- Attention! You need regenerate file
0.1.27
0.1.26
- 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
- colored lists (
- 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
- 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
- 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'
}
};
- support
tableLayouts
in browser, see: https://github.com/bpampuch/pdfmake#own-table-layouts - improved casting to string for non-text elements
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
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