-
Notifications
You must be signed in to change notification settings - Fork 19
Lib_freetype
Lib_freetype is used by ezrenderer/lib_gd.php to create a titling image for the videos.
More specifically, it is the function imagettfbbox(...)
that uses lib_freetype to prepare a well sized box for title.
You have to enable lib_freetype for the GD module of php.
You can verify that your PHP is ready for titling image creation by using the following command in a shell (on the server that runs EZrenderer):
php -r "print_r(gd_info());"
You should receive such output:
Array
(
[GD Version] => 2.0
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[T1Lib Support] => 1
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPEG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] =>
[JIS-mapped Japanese Font Support] =>
)
'FreeType Support' set to 1 means that your server is ready for creating titling image. If FreeType Support is set to 0, you have to install lib_freetype and enable it for PHP.
If you receive the following output, you have to enable GD module for PHP
PHP Fatal error: Call to undefined function gd_info() in Command line code on line 1
Download the latest package of lib_freetype from the Free Type Project and follow instructions hold in the package.