barryvdh / laravel-dompdf

A DOMPDF Wrapper for Laravel
MIT License
6.62k stars 965 forks source link

Incorrect output of font #960

Closed dnznk closed 1 year ago

dnznk commented 1 year ago

Describe the bug First of all, I know this is only a wrapper, but it seems to me that dompdf is working. Sometimes the content of the generated PDF is Japanese. Just like for many others before me the PDF shows either only question marks or boxes, hence can't display the special characters.

To Reproduce Steps to reproduce the behavior:

Expected behavior The Japanese characters (same problem for Greek) should be displayed in the rendered PDF.

Screenshots Bildschirm_foto 2023-03-17 um 10 05 18

Additional context

parallels999 commented 1 year ago

https://github.com/barryvdh/laravel-dompdf/blob/424a223ce80e7afc8bfb6e84449679efe272fbb5/.github/ISSUE_TEMPLATE/bug_report.md?plain=1#L10-L12

This is just a Dompdf wrapper! I understand that this package is just a Laravel wrapper for https://github.com/dompdf/dompdf Any issues with PDF rendering, CSS that is not applied correctly, aligning/fonts/characters etc that are not directly related to this package, should be reported there. When having doubts, please try to reproduce the issue with just dompdf. If it's also present there, do not open an issue here please.

Also, Duplicate of https://github.com/barryvdh/laravel-dompdf/issues/957