Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.7.0

Bug #10722 Example crashes because font file is not found
Submitted: 2007-04-14 05:58 UTC
From: cweiske Assigned: cweiske
Status: Closed Package: Image_Text (version 0.5.2beta2)
PHP Version: 5.2.1 OS:
Roadmaps: (Not assigned)    

 [2007-04-14 05:58 UTC] cweiske (Christian Weiske)
Description: ------------ The example should check the return value of init() since it can return a pear error.


 [2007-04-14 06:27 UTC] cweiske (Christian Weiske)
$ret = $itext->init(); if (PEAR::isError($ret)) { echo $ret->getMessage(); die(); }
 [2007-04-14 10:22 UTC] isnull (James Pic)
The posted patch is supposed to fix bug #10722 and requests #6211, #2520, additionally it correct a bug that appeared in cvs version : each line of the example code was preceded by an asterisk (now it should work out-of-the-box).
 [2007-04-15 13:06 UTC] cweiske (Christian Weiske)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.