bpampuch/pdfmake — pull request #85 by yelouafi (2014-09-11 19:47:21+00:00)
Title: Fix image with margins shifted after page breaks

This one fixes issues with images printed on header/footerv shifting on each page break.

I think `layoutBuilder.addHeadersAndFooters()` shouldn't re-mesure-process static headers/footers for each page (as a downside with the some image'node reused it's `x` position get incremented on each page);

the fix grab the static block first time is generated and add it to subsequent pages. so this would add some performance benefits for static headers/footers, especially for documents with a big number of pages

The fix should close #75 and #76