This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k
stars
544
forks
source link
PDF in local environment is working perfectly, when I uploaded to production instead of one page it becomes 3 pages with spaces and different margins! #670
It's kind of similar, but in my case it wasn't two different operating system, instead it was zoomed in two different browsers but we fixed specifying the font size almost everywhere. Thank you for your answer.
Are the operating system's different? This seemed to solve it for us I think, setting the zoom
https://github.com/marcbachmann/node-html-pdf/issues/215