ZF-12093: Cannot parse a font with path
Description
PHP Version 5.4.0-ZS5.6.0 ZF Version 1.11.11 CODE: $fontPath = realpath("fonts/FuturaStd.ttf"); $this->_font = Zend_Pdf_Font::fontWithPath( $fontPath );
ERROR: Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in /usr/local/zend/share/ZendFramework/library/Zend/Pdf/FileParserDataSource/File.php on line 41
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-15T11:32:32.000+0000
Fixed in trunk (1.12.0): r24806
Posted by Kazusuke Sasezaki (sasezaki) on 2012-05-21T14:55:08.000+0000
Hi Adam. I think backporting weierophinney's zf2 doccomment will be better. https://github.com/zendframework/zf2/…