【发布时间】:2016-09-05 20:27:05
【问题描述】:
我正在使用 wkhtmltopdf 0.12.1.2 将 html 文件转换为 pdf,输出的字体大小不同,字体大小为 13.68,但在 html 中为 11pt。 对匹配有什么帮助吗?
<span style="font-family: Calibri; font-size: 11pt; ">
<table>
<tbody>
<tr><td>this is a test Calibri 11pt font</td></tr>
etc etc
wkhtmltopdf32.exe --disable-smart-shrinking --page-width 215.900000 --page-height 279.400000 1.htm 1.pdf
即使我删除了页面大小,它仍然是一样的。
【问题讨论】:
-
你找到答案了吗?我也有同样的问题
-
不,似乎是个限制。
标签: fonts size wkhtmltopdf