Skip to content
Advertisement

Tag: truetype

How to add TTF font to html2pdf PHP program

I’m trying to use HTML2PDF 4.03 with this code: Now the program die with this: How can I add TTF font to my PDF file? Answer I have managed to add 1 custom font to my setup using the following method. First convert the .ttf file to 3 separate files (.php .z and .ufm) using the following font converter Place

Advertisement