wkhtmltopdf 在 Mac 上生成微小的输出 [英] wkhtmltopdf generates tiny output on Mac
问题描述
我在 Mac OS 10.11.6 上运行 wkhtmltopdf 0.12.4.但是,当我尝试运行基本示例wkhtmltopdf
(直接从 Chrome 生成的 PDF),我得到了这个:
默认输出应该离我这么远似乎很奇怪,但我也尝试了一些选项(包括 --disable-smart-shrinking),但没有运气.希望您能提供任何指导!
我遇到了同样的问题,在通过 Homebrew 安装的 Mac 上使用 wkhtmltopdf 0.12.4 版.我卸载了它并尝试了从 http://wkhtmltopdf.org/ 下载的 0.12.3 版,现在我有了正常尺寸输出.
I'm running wkhtmltopdf 0.12.4 on Mac OS 10.11.6. When I try to run the basic example "wkhtmltopdf http://google.com google.pdf", though, I'm getting an unusual output. Where I'm expecting something like this:
(PDF generated directly from Chrome), I'm instead getting this:
It seems odd to me that the default output should be so far off, but I've tried some options as well (including --disable-smart-shrinking) with no luck. Would appreciate any direction you can offer!
I had the same problem, using wkhtmltopdf version 0.12.4 on a Mac installed via homebrew. I uninstalled that and tried version 0.12.3, downloaded from http://wkhtmltopdf.org/, and now I have normal size output.
这篇关于wkhtmltopdf 在 Mac 上生成微小的输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!