Update lib/class.pdf.php