how to install FreeType 2.0.4

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!

Moderator: General Moderators

Post Reply
jamal
Forum Commoner
Posts: 57
Joined: Sat Oct 26, 2002 7:53 pm
Location: London

how to install FreeType 2.0.4

Post by jamal »

Hi ,
Can anyone assist me on how to install FreeType 2.0.4
with php on windows?
Thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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
Post Reply