Fonts

So, there are essentially 4 ways to write text on an image using php.

  • FreeType 2, which requires PHP be compiled with support, and GD 2.0.1+
  • PostScript Type1, which requires PHP to be compiled with support
  • TrueType, which needs GD as well as the FreeType library
  • Using a bitmap, which would seem to be the easiest, until I looked at it.

From a purely ideological standpoint, FreeType would seem to be the way to go. From a practical standpoint, it looks like TrueType is more realistic.