barryvdh / laravel-snappy

Laravel Snappy PDF
MIT License
2.64k stars 292 forks source link

Downloaded pdf file can't select the text #489

Closed nl123 closed 1 year ago

nl123 commented 1 year ago

I'm using snappyPDF with Laravel 8.77.1 "barryvdh/laravel-snappy" 0.4.8 "wkhtmltopdf" 0.12.5

I converted html to pdf and save it to storage and then download it. The problem is I can't copy the text of the downloaded PDF from the live site But downloaded PDF from local site is ok. What do I need to change on my server to be able to select the text of pdf?

nl123 commented 1 year ago

Sorry, It is not an issue of snappy, it is because of "wkhtmltopdf without patched qt". We need to update with "wkhtmltoimage 0.12.6 (with patched qt)". Thanks