Skip to content
Advertisement

Tag: html2pdf

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

pdf download html2pdf

i am using html2pdf class to generate pdf. in my problem its generate pdf for the html code but it not give the dialog box option to download that pdf. plz help my cose is following. <?php …

Advertisement