html - wkhtmltopdf : How do I increase the PDF quality of a document generated?

标签 html pdf wkhtmltopdf

我正在使用 wkhtmltopdf 生成 pdf。文档中呈现的文本/图像质量未达到预期质量。图像看起来模糊,文字看起来清晰。有什么办法可以提高质量吗?

最佳答案

尝试阅读此主题 http://code.google.com/p/wkhtmltopdf/issues/detail?id=379

特别是评论 #15 中关于禁用智能调整大小的部分适用。

添加命令行选项--disable-smart-shrinking

关于html - wkhtmltopdf : How do I increase the PDF quality of a document generated?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12819716/

相关文章:

wkhtmltopdf - wkhtmltopdf 什么时候真正失败

c# - NReco PDFGenerator 问题

header - WKHTMLTOPDF:如何在第一页上禁用标题

jQuery 显示隐藏 DIV

javascript - 如何使用 Enter 或 Escape 键将 INPUT 元素变为只读

HTML5 - 渲染简单的电路

javascript - getElementsByClassName 不起作用,但 getElementById 可以吗?

java - Spring 中通过 ClassPathResource 提供二进制 (pdf) 文件的编码不正确

ios - 创建 tableview 所有数据的 pdf

ios - Swift UIImage 转换为 PDF