alvarcarto / url-to-pdf-api

Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
MIT License
7.03k stars 779 forks source link

When using "Arial", it is rendered bold #146

Open germanger opened 3 years ago

germanger commented 3 years ago

When using Arial in my source html, ie:

  <style>
    html { font-family: Arial }
  </style>

I get a bold font when converted to PDF:

image

I tried adding an extra buildpack that includes Arial:

image

But it throws an alert that this will take effect in the next deploy.
The question is: how can I force a rebuild or redeployment if I used the Heroku Button for deploying url-to-pdf-api ?

germanger commented 3 years ago

Or.. an easier question: Is there a Linux replacement for Arial that is already installed on Heroku's default environment?

JonasTheGamer commented 3 years ago

Hi! I'm having the exact same issue! Have you found a fix for this already?