0

I got this error on my image generation script :

Warning: imageftbbox() [function.imageftbbox]: Problem loading glyph:

I think because of this I can't generate images from text properly - how do I fix this!

Mr Lister
  • 45,515
  • 15
  • 108
  • 150
Ali
  • 7,353
  • 20
  • 103
  • 161
  • Just double checked uploaded my font file again - its all clear now thanks for the quick reply man :D – Ali Jul 15 '09 at 08:50

3 Answers3

2

there was a problem loading a font file. check the path, filename etc.

dusoft
  • 11,289
  • 5
  • 38
  • 44
1

If there is a problem with the path/filename you'll get a "Invalid font filename" warning.
"Problem loading glyph" means that there is an actual problem with the file's format, i.e. FT_Load_Glyph of the gd library wasn't able to interpret the font definition.

VolkerK
  • 95,432
  • 20
  • 163
  • 226
1

Your php build is probably not compiled with freetype2. Check the config options of your php build by running phpinfo() withing a php script.