azizny
11-14-2005, 01:44 PM
Hello people,
I have had a problem with this function when copying text to an image via a font.
Now at first I thought I did not have gd, which I did and updated it.
Then I thught ImageMagick would fix it, installed it and it didn't..
Then I found out that its freetype that I need, which I installed and configured php with:
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
//These 3 new lines I added
--enable-gd-native-ttf \
--with-ttf=/usr/include/freetype1 \
--with-freetype-dir=/usr/include/freetype2 \
Then i rebuilt php and restart httpd/server and it still wont work.
Yes, I also installed freetype 2 (thinking I didnt have freetype 1 in the first place).
I appreciate any help or guidance.
Peace,
I have had a problem with this function when copying text to an image via a font.
Now at first I thought I did not have gd, which I did and updated it.
Then I thught ImageMagick would fix it, installed it and it didn't..
Then I found out that its freetype that I need, which I installed and configured php with:
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
//These 3 new lines I added
--enable-gd-native-ttf \
--with-ttf=/usr/include/freetype1 \
--with-freetype-dir=/usr/include/freetype2 \
Then i rebuilt php and restart httpd/server and it still wont work.
Yes, I also installed freetype 2 (thinking I didnt have freetype 1 in the first place).
I appreciate any help or guidance.
Peace,
