python_scripts
python_scripts copied to clipboard
为什么我转出来的pdf字体那么小呢?

在html的时候是正常的,应该是转pdf的时候变了,是options设置不对吗?

在Mac下做的。
字体可以设置的
@jiangeel this is a problem on mac because of retina see this https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3241 you can fit it by adding 'dpi':350 in options . enjoy it!
@mahomeL 我是macbook air2014,不是retina屏幕,字体也是小的很
@cherryz 在options里面添加 'dpi':350
@mahomeL 已解决,感谢!
@mahomeL 已解决,感谢!