Another problem occurs if you install v12 in a folder, for testing, create a PDF and later change the TNG folder name when moving TNG to a live site. The first time a PDF is generated, TNG creates two data and two php configuration files for each font selected in the unifont sub-folders. To fix the error either replace the entire font folder with the new v12 version or open each DejaVu sub-folder and delete the two .dat and two .php files. Once these files are deleted TNG will regenerate the .dat and .php files when you create a PDF.
After the PDF generator is working, individual PDFs may have an improperly formatted title. Chrome will display question marks and Firefox some special characters. This problem has been corrected in v12.0.1. Fixing the problem requires a small change to the rpt_ind.php file. Locate the line below, which will be about line 58.
Code: Select all
$pdf->SetTitle($title, true);
Code: Select all
$pdf->SetTitle($title);