简体   繁体   中英

Warning: imageftbbox() [function.imageftbbox] - what is this error

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!

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

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, ie FT_Load_Glyph of the gd library wasn't able to interpret the font definition.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM