Releases: bpampuch/pdfmake
Releases · bpampuch/pdfmake
0.1.56
0.1.55
- update pdfkit to 0.9.1
- add
borderColor
for table cell (exampleborderColor: ['#ff00ff', '#00ffff', '#ff00ff', '#00ffff']
and see table example) - cache can be disabled via
fontLayoutCache
option. Example:printer.createPdfKitDocument(docDefinition, { fontLayoutCache: false })
on server-side andpdfMake.createPdf(docDefinition).download('document.pdf', null, { fontLayoutCache: false });
on client-side - normalized
readFileSync
method parameters in virtual file system same as in node.js - improved throwing of exception for opening image
- fix download() options might be dropped
- upgrade to webpack 4
0.1.54
0.1.53
0.1.52
0.1.51
0.1.50
- 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
- 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
andcount
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
- 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
- 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