You are here: displaying php chart text on my host using an uploaded font « PHP Programming Language « IT news, forums, messages
displaying php chart text on my host using an uploaded font

Posted by monomaniac21 on 10/27/45 11:47

Hi im trying to get a chart to display using php. I get an error at the
moment when i use the function (or any requiring an uploaded font to be
used):

imagettftext($image, 6, 0, 0, $initial_point, $colorRed, 'Verdana',
$initial_value);

The error stems from the loading of the verdana ('Verdana') font file
which IS uploaded and works locally but for some reason the script cant
find the file on your site so its returning an error. Does anyonw know
what what might be the cause of this? For example I am using a mac to
work locally and then uploading to the php server which is linuz might
i need to use diferent fonts or something on the server?

Please help!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация