Take the 2-minute tour ×

I'm trying to create an image with some text but have been running into some issues. I first tried to use imagestring but found that the largest font you could use is too small and the only real way around that I think was to load a custom font that has to be in the .gdf format.

Then I found out about imagettftext and when it didn't work I did some more research and according to the manual it requires the FreeType library.

My dev machine is Windows, I downloaded the binary and installed it but apparently there is more to it and TBH looks like far too much messing around.

Are there any other options, as I see it my current options are:

  • Find and load a GDF font
  • Work out how to install the freetype library fully
  • Use something like ImageMagick
share|improve this question
add comment

Your Answer



Browse other questions tagged or ask your own question.