tFPDF generates an empty pdf file
问题 I am trying to generate a PDF file in PHP using the tFPDF library. I started with FPDF and it worked fine except that the UTF-8 characters were garbled. After some searching, I found that one could implement tFPDF to include UTF-8 characters in a PDF file. But all my attempts have resulted in an empty file that cannot be opened--0 KB file written to my hard drive and "There's a problem with the file format" message when I double click it. Here is my code. I'm getting no PHP errors in the