SetFont(string family [, string style [, float size]])
family
Courier
(fixed-width)
Helvetica
o Arial
(sinónimo; sans serif)
Times
(serif)
Symbol
(symbolic)
ZapfDingbats
(symbolic)
style
B
: bold
I
: italic
U
: underline
Symbol
y ZapfDingbats
.
size
// Times regular 12
$pdf->SetFont('Times');
// Arial bold 14
$pdf->SetFont('Arial', 'B', 14);
// Elimina bold
$pdf->SetFont('');
// Times bold, italic y underlined 14
$pdf->SetFont('Times', 'BIU');