Does wkHTMLtoPDF support @page rules?

爷,独闯天下 提交于 2019-12-10 14:13:05

问题


I've been trying to use this simple command to explore wkHTML2PDF abilities:

wkhtml2pdf test.htm test.pdf

It seems it doesn't support @page rules that might be included in an attached CSS file, or do I miss something? some parameters for examples?


回答1:


The short answer is No. As @skobajic mentioned, there are command line parameters to get the same functionality. I don't see it coming any time soon given that webkit doesn't support it.

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2200

https://bugs.webkit.org/show_bug.cgi?id=15548



来源:https://stackoverflow.com/questions/30165208/does-wkhtmltopdf-support-page-rules

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!