It will be great if TCPDF could set a custom fonts path, so when use SetFont or something like:
$html='<span style="font-family: customfont;">my text in bold</span>: my normal text';
$pdf->writeHTMLCell($w=0,$h=0,$x=11,$y=201,$html,$border=0,$ln=0,$fill=false,$reseth=true,$align='L',$autopadding=false);
will not be limited to only use fonts defined in:
with this is possible users upload fonts, convert and use it using custom folders
I think something like:
AddFontPath('<FONT_PATH>');
or an static method:
TCPDF::AddFontPath('<FONT_PATH>');