PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
error with Image_packages

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Images
View previous topic :: View next topic  
Author Message
robertos



Joined: 17 Mar 2007
Posts: 32

PostPosted: Mon Apr 09, 2007 7:36 pm    Post subject: error with Image_packages Reply with quote

When i'm trying to run the scripts from the Image_ packages i get this error:

The image “http://localhost/image/canvas/ex1.php” cannot be displayed, because it contains errors.

and errors like this in error_log:
Code:

[Mon Apr 09 20:34:18 2007] [error] [client 127.0.0.1] PHP Warning:  imagettfbbox() [<a href='function.imagettfbbox'>function.imagettfbbox</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1309, referer: http://localhost/image/canvas/
[Mon Apr 09 20:34:18 2007] [error] [client 127.0.0.1] PHP Warning:  imagettfbbox() [<a href='function.imagettfbbox'>function.imagettfbbox</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1246, referer: http://localhost/image/canvas/
[Mon Apr 09 20:34:18 2007] [error] [client 127.0.0.1] PHP Warning:  imagettfbbox() [<a href='function.imagettfbbox'>function.imagettfbbox</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1309, referer: http://localhost/image/canvas/
[Mon Apr 09 20:34:18 2007] [error] [client 127.0.0.1] PHP Warning:  imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1411, referer: http://localhost/image/canvas/
[Mon Apr 09 20:34:19 2007] [error] [client 127.0.0.1] PHP Warning:  imagettfbbox() [<a href='function.imagettfbbox'>function.imagettfbbox</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1309, referer: http://localhost/image/canvas/
[Mon Apr 09 20:34:19 2007] [error] [client 127.0.0.1] PHP Warning:  imagettfbbox() [<a href='function.imagettfbbox'>function.imagettfbbox</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1246, referer: http://localhost/image/canvas/
[Mon Apr 09 20:34:19 2007] [error] [client 127.0.0.1] PHP Warning:  imagettfbbox() [<a href='function.imagettfbbox'>function.imagettfbbox</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1309, referer: http://localhost/image/canvas/
[Mon Apr 09 20:34:19 2007] [error] [client 127.0.0.1] PHP Warning:  imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not find/open font in /usr/share/pear/Image/Canvas/GD.php on line 1411, referer: http://localhost/image/canvas/

Any ideas?Thanks.
Back to top
View user's profile Send private message
osde.info



Joined: 18 Apr 2007
Posts: 2

PostPosted: Wed Apr 18, 2007 5:45 pm    Post subject: Reply with quote

https://help.ubuntu.com/community/PhpPear

$ sudo -i
# cd /usr/share/php/Image/Canvas
# ln -s /usr/share/fonts/truetype/msttcorefonts/ Fonts
$

http://pear.php.net/bugs/bug.php?id=3487
http://pear.php.net/bugs/bug.php?id=5994
Back to top
View user's profile Send private message
robertos



Joined: 17 Mar 2007
Posts: 32

PostPosted: Mon Apr 23, 2007 5:37 pm    Post subject: Reply with quote

i stii get those errros:(
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Images All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement