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.
我不明白为什么 DOMPDF 中的字体颜色比正常颜色更粗。
jsfiddle 与 html
将 HTML 与 DOMPDF 进行比较的图像:
谢谢您的帮助。
正如BrianS所说,问题的原因是PNG 8位。
我做了一个将所有PNG转换为JPG的函数,解决了这个问题。 如果您不知道它是哪种格式 > PNG 或 JPG,这很好。
谢谢布赖恩。