How to Set Different font-family in Dompdf

When generating a PDF with Dompdf then it ignores fonts that are not available in its internally – Helvetica, Times-Roman, Courier, Zapf-Dingbats, Symbol.

Require to load the fonts for use in PDF creation which is not existing in Dompdf internal fonts.

In this tutorial, I am creating a PDF of MySQL database table records and set its font-family using Dompdf.

How to Set Different font-family in Dompdf

Read more