Page 1 of 1

how to install FreeType 2.0.4

Posted: Wed Nov 13, 2002 11:28 pm
by jamal
Hi ,
Can anyone assist me on how to install FreeType 2.0.4
with php on windows?
Thanks

Posted: Thu Nov 14, 2002 3:49 am
by volka
you probably want this for truetype fonts in GD.
Then you don't need freetype (not on windows). All you have to do to enable gd (with truetype) is to make the php_gd or php_gd2.dll available to php. These .dlls are in the zip-package of php/win
in php.ini you have to set

Code: Select all

; Directory in which the loadable extensions (modules) reside.
extension_dir =
to the appropriate directory (e.g. mine is extension_dir = c:/programme/php423/extensions) and include one of the modules, e.g.

Code: Select all

extension=php_gd.dll
;extension=php_gd2.dll
loads gd but not gd2