wkhtmltopdf 的字母间距太大 [英] letter-spacing is too large with wkhtmltopdf
本文介绍了wkhtmltopdf 的字母间距太大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 wkhtmltopdf 以 pdf 格式下载网页.
I'm using wkhtmltopdf to download a webpage as pdf.
但是 css 属性 letter-spacing 似乎不起作用
But the css property letter-spacing seems doesn't work
font-size:20px; letter-spacing:0px;
font-size:20px; letter-spacing:1px;
1px的间距非常大...
The spacing is very large for 1px...
我尝试了 2 种不同的字体系列
I tried with 2 differents font-family
推荐答案
这是一个已知问题.https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1575.没有修复它.只是为了避免使用字母间距
Its a known issue. https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1575 . No fix for it. Only to avoid using letter-spacing
这篇关于wkhtmltopdf 的字母间距太大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文