-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deformed font rendering on Heroku #702
Comments
wkhtmltopdf is cutting off the bottom of the letters. I really needed to fix it |
Also relates to: #469, #509, #674 Some fonts are just going to render differently across different systems, and a Linux font with the same name is likely a different version. Try installing that font specifically on the server, or loading it via a web-font resource. Also try setting Try loading your site on a Linux desktop, and you'll probably spot font rendering differences sooner. There is a good breakdown of the problem and many good suggestions in this thread/issue that may help: wkhtmltopdf/wkhtmltopdf#45 |
A bit late to this thread, but for others stumbling in here via Google, this seems to be an issue with Heroku's |
Thanks for this feedback 🙏🏼 and your solution @SeriouslyAwesome And for whom it may ride faster the problem here the command line heroku stack:set heroku-16 then commit something and push again to heroku... |
I've tried to do some pdf files. In Heroku it does not work properly. In the debug mode is working well, and in localhost too.
When I generate a pdf in Heroku the border of the fonts does not render properly, the rounded parts become deformed.
I'm using the gem wkhtmltopdf-heroku
What can it be?
29.pdf
The text was updated successfully, but these errors were encountered: