Fixed some typos in comments

Fixed several typos in the comments of `/lib/class.pdf.php`