【发布时间】:2013-10-12 08:21:49
【问题描述】:
我尝试通过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
【问题讨论】: