-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add checks for GD true/free type functions #31
Comments
wouldn't this solve it? https://github.com/avalanche123/Imagine/blob/develop/lib/Imagine/Gd/Imagine.php#L210 |
Apparently not, I run into the issue yesterday, it was not caught by the free type support option. |
I see, I will add checks then, thanks |
I have confirmed that it's because of the lacking I guess it would be best to throw an exception and refer to the fact that one needs to compile php |
Fix #31: Check GD function existence before using it
The GD Drawer implementation should be checking for the existence of the following true/free type functions:
They might not be enabled on some platforms...
As far as I can see it is the result of compiling GD without the correct
--with-freetype-dir
.How would you like the test case formatted?
The text was updated successfully, but these errors were encountered: