Mischa Leiss and Rastaking corrections are absolutely correct, I thought I would add that editing the file on
[magento root]/lib/Zend/Pdf/FileParserDataSource.php
not the best practice. Better copy the file to
[magento root]/app/code/local/Zend/Pdf/FileParserDataSource.php
and edit the file there. Magento will use this override version of the file, not the default, and you are unlikely to encounter problems in the future (for example, when trying to update the Magento kernel).
Also, this probably should have been a comment, but it was hard to read without formatting.
source share