spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 751 forks source link

PDF files created with html2pdf with "freeserif" font are blocked by Gmail #769

Closed SetteMarco closed 1 year ago

SetteMarco commented 1 year ago

Hi,

I create pdf files with Html2pdf, using the "freeserif" font because there may be Cyrillic characters inside, but Gmail blocks emails with these pdf attachments. If I set a different character, for example "Times", Gmail accepts the email, but the Cyrillic characters in the pdf are replaced by question marks.

Does anyone have a solution?

Thank you

jardapoliak commented 1 year ago

Hi,

had the same issue since 30.4.2023, solved by changing the font to "freesans". I hope it will works for some time.

SetteMarco commented 1 year ago

Yes, you helped me, problem solved.