ZF-12093: Cannot parse a font with path

Issue Type: Bug Created: 2012-03-09T18:55:57.000+0000 Last Updated: 2012-05-21T14:55:08.000+0000 Status: Resolved Fix version(s): - 1.12.0 (27/Aug/12)

Reporter: Ruben Lacasa (sbarrat08) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Pdf

Related issues: - ZF-11906



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


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.…

Have you found an issue?

See the Overview section for more details.


© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.