Jump to content

mPDF error: No font or default font set!

Recommended Posts

i update my PHP from 7.4 to 8.0

and now i get an error while printing pdf with mPdf

-> mPDF error: No font or default font set!

i try set define('_MPDF_TTFONTPATH', __DIR__ . '/ttfonts'); in config_fonts.php

but nothing change.

Did anyone know how to fix this error?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...