DOMPDF text is bolder than normal

2019-09-19 11:38发布

问题:

I cant understand why the font color in DOMPDF is bolder than normal.

jsfiddle with the html

Image comparing HTML to DOMPDF:

Thanks for the help.

回答1:

As BrianS said, the cause for the problem is PNG 8 bit.

I made a function which converts all PNGs to JPGs and that solved the problem.
This is good if you don't which format it is > PNG or JPG.

Thanks BrianS.