DinkToPdf icon indicating copy to clipboard operation
DinkToPdf copied to clipboard

DinkToPdf .NET Core on Linux without X server.

Open milons opened this issue 6 years ago • 4 comments

Hi. Do you have experience in using DinkToPdf library on .NET Core Linux (Debian x64) runtime without X server installed? I am creating a WebApp in .NET Core and everything works fine on my development machine (Win 10 x64). When deploying to Linux, generated PDFs looks really different, HTML layout looks like ViewportSize or DPI property of GlobalSetting class is skipped.

Have you ever had such problems?

milons avatar May 30 '19 06:05 milons

Same issue here, did u manage to solve this?

maikoly1 avatar Aug 20 '19 21:08 maikoly1

Same issue here on Mac, set A4 paper size but it is look very different

RussellSk avatar Mar 23 '20 20:03 RussellSk

Same issue here, did u solve this?

nileshtiwalkar avatar May 28 '20 11:05 nileshtiwalkar

The current wkhtmltopdf version uses in DinkToPdf is v0.12.4 and if you read the documentation the ViewportSize is no longer supported since version 0.12.2.4

image

I hope this info helps you!

sergiocyklpoint avatar May 07 '21 12:05 sergiocyklpoint