Attempting to load a font using imageloadfont and am running into the following error:
imageloadfont(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully
Below is the code that is causing the problem. It's... pretty basic.
imageloadfont(APPPATH.'fonts/lora/lora-regular.ttf');
I'm using the FuelPHP framework, which I think is somehow to blame, as I can create a basic .php file in the localhost root (outside of framework) and loading of the above font file works fine.