Open kamleshwebtech opened 10 months ago
Hey @kamleshwebtech
It seems like you should use tcpdf/tools/tcdpf_addfont.php to generate your font files and not fpdf/makefont/makefont.php. After you've set that up, and if you are still having troubles, have you tried other fonts beside the one you desire? It sounds like you're mostly doing it right, but haven't quite asked a specific question here or provided much information for others to be able to reproduce any issue.
1) Search and download required font's ttf file 2) Open http://www.fpdf.org/makefont website in the browser and upload the ttf font on this website 3) Download two files 'customfontname.php' and 'customfontname.z' 4) Copy these two files into '/yourproject/vendor/tecnickcom/tcpdf/fonts/' folder 5) include / set the font in your script before tcpdf html code '$pdf->SetFont('customfontname', '', 12);'