barryvdh / laravel-dompdf

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

Laravel Dompdf rendering broken font on different laravel server #1025

Open mauljurassicia opened 6 months ago

mauljurassicia commented 6 months ago

I have working laravel server that implements pdf rendering using laravel dompdf. It has been working very well in current implementation. But when our teams decided to make testing environment by making another laravel instance on same server (same os and same php version and ext, or maybe atleast as my senior said), the font suddenly became broken. This is maybe not exactly a bug on laravel dompdf side, but can anyone face same issue here and maybe can give me a suggestion about what i can do.

parallels999 commented 6 months 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/images/html 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.

Maybe folder permissions