使用itext轉換出現pdf格式丟失的,可以換成Wkhtmltopdf
前期準備
centos安裝Wkhtmltopdf
https://segmentfault.com/a/1190000017552056?utm_source=tag-newest
安裝遇到的問題
用word文件另存爲html的時候要注意html的編碼,在wps選項中設置編碼爲utf-8
使用itext轉換出現pdf格式丟失的,可以換成Wkhtmltopdf
centos安裝Wkhtmltopdf
https://segmentfault.com/a/1190000017552056?utm_source=tag-newest
安裝遇到的問題
用word文件另存爲html的時候要注意html的編碼,在wps選項中設置編碼爲utf-8