Closed ozzyDrive closed 4 months ago
Never heard of this before, must be some kind of missing dependency would be my guess, but I can't say what. If you find out feel free to share your findings.
Try disabling IntelligentShrinking. Worked for me on debian.
Hi,
I stumbled on this problem when trying to switch our base image from Debian to Alpine due to security issues and it seems it is replicated in the example https://github.com/HakanL/WkHtmlToPdf-DotNet/blob/master/src/TestConsoleAppDockerAlpine/Dockerfile
The GlobalSettings object passed to HtmlToPdfDocument seem to have no effect on the actual output. I have tried changing the DPI, orientation and paper size. All of these do work in the Debian image as well as running it as a console application.
I have tried different dependencies from different sources but honestly it has just been trial and error. What could it be missing?