Fixed bug with tpdf

-Fixed bug in tpdf that made it not work on servers
-remaining issue: only one font works