Click to See Complete Forum and Search --> : TTF Support


Anon
01-03-2001, 04:18 PM
Sorry I just realized I was posting these to the wrong forum. I need to get ttf support. Chris told me I needed T1lib installed.

OK, I got the T1lib installed. I did a ./configure which is all the install instructions say to do, and did a reconfigure of php. Still no --with-t1lib i phpinfo(). ( I found this later)

I did the following

1) Downloaded T1lib
2) untar
3) performed a .configure for T1lib
4) switched to php dir
5) performed a ./configure with the same options in phpinfo and added --with-t1lib at the end

(./configure --with-mysql=/usr/local/etc/mysql --with-config-file-path=/www/conf --with-apache=../httpd --enable-track-vars --with-ttf=/usr/local/etc/T1-1.0.1)

Still no luck and during the confugure, I see the following
checking whether to include GD support... checking for gdImageLine in -lgd... (c
ached) yes
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImageString16 in -lgd... (cached) yes
checking for compress in -lz... (cached) yes
checking for png_info_init in -lpng... (cached) yes
checking for gdImageColorResolve in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) yes
checking for gdImageCreateFromGif in -lgd... (cached) no
checking whether to include ttf support... no
checking for T1lib support... checking for T1_GetExtend in -lt1... no
no


This seems to tell me I am getting Gd support but still no ttf.

Help?


Joe

zhamm
01-03-2001, 05:21 PM
What platform are you on? What did you do to get gd to compile?

Zack

Anon
01-03-2001, 05:44 PM
Im on Redhat 7, Apache 1.3.??. GD support was already compiled in based on phpinfo:

gd
GD Support enabled
GD Version 1.6.2 or higher
PNG Support enabled

krisha
01-03-2001, 08:31 PM
You need freetype lib i guess :)

Check http://freetype.sourceforge.net

untar
./configure
make ttlib
make install
(you may also skip make install, but then pojnt to that dir like --with-ttf=../freetype-1.3.1 )

or if you do "make install", run ldconfig
and after that just configure php --with-ttf

That's all :)
Up & running..

Anon
03-12-2002, 09:43 AM
Hi,
it seams that you had the same problem i have now, did you resolfe it??

thanx for any help

günther

Anon
03-18-2002, 05:53 PM
What helped me is installing both freetype and t1lib, than deleting directory where you extracted php dist and than extracting it again and running through normal proceedure...
PHP installation caches something somewhere and deleting configure.cach doesn't seem to work.

Good Luck.