On the topic of gd support but a slightly different topic-

I was using php 4.0.5

gd 1.8.3 patched for gif support (using libungif for libgif which I
*think* is OK)
FreeType 1.3.1 (compiled myself in /usr/local )
t1lib 1.3.1 (compiled myself in /usr/local )

I was using gd to draw pictures and write text on them with ttf fonts.
I saw there were some new image functions in >= 4.0.6 so I grabbed the
latest php

I use a script to compile php
same compile options, but t1lib gave a ptoblem because instead of looking
in /usr/local/lib it tried to find the library in /usr/lib/.libs

the configure option id --with-t1lib=/usr/local

cd /usr/lib
ln -s /usr/local/lib .libs

took care of that but I really don't want to do that.
Anyway, my big problem is with freetype.

compiled
I could draw and open images, but could not write ttf fonts on them.

reading the ./configure -h I see that they CHANGED what the configure
options mean.
now --with-freetype=dir refers to freetype 2

Personally I think its insane to change the meaning of a configure option,
but OK.
So I downloaded FreeType 2 and compiled it and installed in /usr/local

recompiled php

Still can't use ttf to write on images.

phpinfo() says I have FreeType linkage.
But both ImageFtText and ImageTTFText fail to do anything.

What is up with that?

Perl is losing popularity because every time it updates scripts frequently
need some rewriting (that and cpan will grab the latest module and then
try to grab a newer perl instead of grabbing the module that works with
the installed perl- grrrr)
Hopefully php isn't going that route.

Is this just a bug or has there been a major change?
I'm going to have to find myself trying php 4.0.6 and possibly reverting
back to 4.0.5 if I can't get this resolved.

My compile options are here- http://macaddict4life.dhs.org/info.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to