Answer the question
In order to leave comments, you need to log in
Different render pdf phantom.js on windows and ubuntu
Hello!
I render pdf on my machine and server with the same settings,
Result on windows yadi.sk/d/RCOxRQ50HS5oo
Result on ubuntu yadi.sk/d/BCjYchJWHS5xN
Versions of phantomjs are the same..
What could be wrong?
'viewportSize': {
'width':'1200px',
'height':'900px'
},
'paperSize': {
'margin' : {
'top': '0cm',
'left':'0cm',
'right':'0cm',
'bottom':'0cm'
},
'width': '1200px',
'height': '990px',
'border': '0px'
}
Answer the question
In order to leave comments, you need to log in
I solved the issue, it was necessary to set zoom 0.75
The number of dpi on Windows 72, on Linux 92, so there was such a resize
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question