SetFont(string family [, string style [, float size]])
FPDF_FONTPATH
(si es que ha sido definida)
include()
define('FPDF_FONTPATH','/home/www/font/');
require('fpdf.php');
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');