How to use custom fonts?
Due to possible security and licensing issues, we cannot add third-party fonts to our server. However, we have a PDF.co Self-hosted that will allow you to install custom fonts. The PdF.co Self-hosted is on-premise and requires to be hosted in your infrastructure.
Here's a comparison of our PDF.co Cloud and PDF.co Self-hosted https://pdf.co/pricing/on-demand-cloud-vs-dedicated-vs-on-prem
Please let us know if you're interested in the PDF.co Self-hosted.
Another way to use custom fonts is through the HTML to PDF API. There are two ways that you can use custom fonts in your HTML template.
- You can use custom fonts or find fonts similar to what you'd like to use in Google Web Fonts https://fonts.google.com/
- You can embed fonts hosted from another resource https://stackoverflow.com/questions/24990554/how-to-include-a-font-ttf-using-css
You can read about HTML Template to PDF here https://pdf.co/html-template-to-pdf