PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
php/the extension must be compiled with support for those libraries
http://php.net/image wrote:Table 4. Supported font libraries
Font library Configure Switch
FreeType 1.x To enable support for FreeType 1.x add --with-ttf[=DIR].
FreeType 2 To enable support for FreeType 2 add --with-freetype-dir=DIR.
T1lib To enable support for T1lib (Type 1 fonts) add --with-t1lib[=DIR].
Native TrueType string function To enable support for native TrueType string function add --enable-gd-native-ttf.
wether the extension exposes the function or not depends on how it was compiled. Either it was compiled with one of the option listed above or not.
Precompiled extension modules of all flavors can be found for almost all OSs.