TCPDF ERROR: All fonts must be embedded in PDF/A mode!

PDF documents format

Convert PDF 1.7 to PDF/A
The following error occurred, unable to generate PDF document

TCPDF ERROR: All fonts must be embedded in PDF/A mode!

How should I embed fonts into a PDF?

  • You have MAIN_PDF_FORCE_FONT set to a non-embeddable font
  • You’re using a custom font that hasn’t been properly added to TCPDF
  • The font file is missing or corrupted

Enable debug mode see detailed error messages