I’m using TCPDF for generating dynamic PDFs. It works fine but since I move my generator to a new server I have a problem.
I’m getting a error when I open the pdf:
Cannot extract the embedded font 'AAAAAC+FreeSerif'. Some characters may not display or print correctly.
It displays symbols instead of text. On the old server the files are successfully generated but on the new server all I see are symbols. Anyone has any idea why this would happen? (the files on both servers are the same!).
Figured it out… the problem was that the servers php.ini had:
Which corrupted the binary data. Turning it off solved the problem.