Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试使用 html2pdf 时出现错误:"TCPDF ERROR: Could not include font definition file: calibri"...
"TCPDF ERROR: Could not include font definition file: calibri"
如何解决这个问题?
calibri 不是 tcpdf 中的默认字体,如果要在文件中使用它,则需要添加它:检查此https://tcpdf.org/docs/fonts/。tcpdf 中的默认字体列表以及如何添加。