我尝试通过imageloadfont函数加载字体。当我运行脚本时,我收到错误:
gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully
PHP Warning: imageloadfont(): Error reading font, invalid font header
什么会导致这个问题?
环境:
Ubuntu 13.04 64 位
PHP 5.4.9-4ubuntu2.3