I am using a WordPress plugin that runs mpdf. I am using the plugin “ChordWP” and “ChordWP-Propack” but I run I to some struggles.
Could anyone help me with this error…? How do I change the default font from “DejaVu Serif Condensed” to “DejaVu Sans Condensed” in mpdf 6.1?
The engraved pdf also give me one column and the plugin supposed to engrave two columns. Any suggestion?
Fatal error:
Uncaught MpdfException: mPDF Error - cannot find TTF TrueType font file - /public_html/.../mpdf60/ttfonts/DejaVuSerifCondensed.ttf
mPDF->AddFont('dejavuserifcond...', '')
#1 /public_html/.../mpdf60/mpdf.php(13621): mPDF->SetFont('dejavuserifcond...')
#2 /public_html/.../mpdf60/mpdf.php(1287): mPDF->SetDefaultFont('serif')
If I’m reading correctly seems to be an error in the installation of the addon. Upload the Truetype font file to the fonts directory
/ttfonts..
or try it with pythoncode may appear something like this.
but it seems as if the file it self is missing