lua-gd icon indicating copy to clipboard operation
lua-gd copied to clipboard

stringFT: Return error message as a second return value

Open jilles-sg opened this issue 9 months ago • 0 comments

If stringFT() fails, return the error message from gdImageStringFT(), which is useful to diagnose and fix the problem.

There are more functions where this would be helpful, but this one was the only one where we had problems today.

jilles-sg avatar May 08 '24 13:05 jilles-sg