In TCPDF, there are only a few fonts to choose from, to create pdf files. I want to set Tahoma as my pdf font. How can I include Tahoma in TCPDF??<
Tahoma
the best way i have been tried and worked 100% put your TTF font in fonts folder and then use this constant K_PATH_FONTS + FONT NAME
TTF
K_PATH_FONTS + FONT NAME
$font1 = $this->pdf->addTTFfont(K_PATH_FONTS . 'arial.ttf', 'TrueTypeUnicode', '', 8); $this->pdf->SetFont($font1, '', 15, '', false);