node-html-pdf icon indicating copy to clipboard operation
node-html-pdf copied to clipboard

PDF converted is not that Good

Open mohsinali421 opened this issue 3 years ago • 11 comments

In my local machine pdf is converted fine and looks good but my deployment server ubuntu converts pdf not properly. It cuts 30% width and also text formatting is also changed. I am facing this issue on production and not on my local. Someone please help on priority basis.

mohsinali421 avatar Sep 27 '21 12:09 mohsinali421

I have the same issue, i just discovered :( it looked perfect on my machine, but when running it on a server it looks terrible

arx111 avatar Sep 30 '21 18:09 arx111

Same problem. any idea how to fix it?

AftabFalak avatar Oct 02 '21 13:10 AftabFalak

I have the same issue. any idea how to fix it?

helmi309 avatar Oct 05 '21 03:10 helmi309

Same here, I am trying to create a pdf doc and serve it on server. Somehow like most of you, the result is different between local development and the production. https://github.com/tanhauhau/express-pdf/issues/2#issuecomment-934660822

octsiri avatar Oct 05 '21 18:10 octsiri

Ihave the same problem. any idea how to fix it? Urgent

alexander1007 avatar Oct 06 '21 03:10 alexander1007

+1

pyrsmk avatar Oct 07 '21 05:10 pyrsmk

@onelifeodyssey which OS are you running locally? try to play around with the zoomFactor config. default is 1, reduce this to around 0.75 or 0.8.

walawe avatar Oct 21 '21 02:10 walawe

In my local machine pdf is converted fine and looks good but my deployment server ubuntu converts pdf not properly. It cuts 30% width and also text formatting is also changed. I am facing this issue on production and not on my local. Someone please help on priority basis.

Did you found the solution i am facing the issue

ashishkuswah avatar Jul 19 '22 13:07 ashishkuswah

+1

did you found the solution?

ashishkuswah avatar Jul 19 '22 13:07 ashishkuswah

Same problem. any idea how to fix it?

did you found the solution ?

ashishkuswah avatar Jul 19 '22 13:07 ashishkuswah

@onelifeodyssey which OS are you running locally? try to play around with the zoomFactor config. default is 1, reduce this to around 0.75 or 0.8.

this doesn't work for me any other solution?

ashishkuswah avatar Jul 19 '22 13:07 ashishkuswah