Problem creating image with text in PHP Posted May 27, 2009 · Report reply Hi there, The problem is that the var $FontName (or $this->FontName) of the pChart-class is initiated as NULL. Unless you change that value by using setFontProperties, this NULL is used as the path to that ttf-file. So please set this by using for example:$mychart->setFontProperties("Fonts/pf_arma_five.ttf",12). It worked for me O I'm sorry, I tought that this was about pChart, because it also uses imageftbbox. I just couldn't delete this answer. So don't mind.