What are the differences between FreeType and TrueType font support in PHP?

FreeType and TrueType are two different font rendering libraries in PHP. FreeType is a library that supports a variety of font formats, including TrueType, OpenType, and Type 1 fonts. TrueType, on the other hand, specifically supports TrueType fonts. To use FreeType font support in PHP, you can use the `imageloadfont()` function with the FreeType library. To use TrueType font support, you can use the `imageloadfont()` function with the TrueType library. Here is an example code snippet that demonstrates how to use FreeType font support in PHP:

// Load a FreeType font
$font = imageloadfont(FREETYPE_FONT_FILE);

// Set the font for text output
imagestring($image, $font, $x, $y, $text, $color);
```

And here is an example code snippet that demonstrates how to use TrueType font support in PHP:

```php
// Load a TrueType font
$font = imageloadfont(TRUETYPE_FONT_FILE);

// Set the font for text output
imagestring($image, $font, $x, $y, $text, $color);