我嘗試通過imageloadfont函數加載字體。當我運行腳本我收到錯誤:GD嘗試加載字體時出錯
gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully
PHP Warning: imageloadfont(): Error reading font, invalid font header
什麼會導致此問題?
ENV:
Ubuntu的13.04 64位
PHP 5.4.9-4ubuntu2.3