只能说pdf和html的差异很大,比如分页、gif、等等
①
不是所有 css 都支持的 具体查看 https://mpdf.github.io/css-stylesheets/supported-css.html
②
长内容表格被缩放问题,目前没有解。每行内容不要太长了,如果有很多图片,重新排版下。
③
纯php的性能堪忧,尽量优化下。https://mpdf.github.io/troubleshooting/slow.html
④
支持页码,这个还行
只能说pdf和html的差异很大,比如分页、gif、等等
①
不是所有 css 都支持的 具体查看 https://mpdf.github.io/css-stylesheets/supported-css.html
②
长内容表格被缩放问题,目前没有解。每行内容不要太长了,如果有很多图片,重新排版下。
③
纯php的性能堪忧,尽量优化下。https://mpdf.github.io/troubleshooting/slow.html
④
支持页码,这个还行