I realized that just after posting my question... Though solving my
configure problem I still can't get freetype to work...
I had everything running under php-4.0.4 (including gd and freetype 1.x)
However due to the patent issues it is necessary for me to use freetype2
which isn't too bad in itself ;)
Well...
I saw an "old" submission from Wez claiming that the problems I were
experiencing wasn't a PHP problem, but rather a gd problem. I tried out
the little C program he included and true enough - The problem was, that
gd for some reason didn't include TrueType support (allthough everything
suggested that it ought to)... Well after searching high and low - I
found
this excellent :) link, http://www.alt-php-faq.org/local/68/ , which
says
that gd-1.8.x doesn't support freetype2 - and how to successfully
compile
gd and freetype into PHP. I realize that this has little to do as such
with
the forum of this mailing list, but I also believe, that many get their
first
experience with gd end freetype when trying to compile it into php,
which sort
of justifies my entry ;)
Ho hum... Now I have everything up and running - or so it would seem,
but when
I try to utilize the imagettfbbox og imagettftext functions I get an
error saying
"Could not find/open font". In light of the troubles with gd and
freetype - it would
seem likely that this problem also stems from that and not PHP - but I'm
asking here
anyway - because it seems that this forum is much more active than the
various gd and
freetype forums.
Another thing... I ran through the ext/gd sources and found some
functions (not included
in the manual pages) namely imageftbbox and imagefttext, but whenever I
try to use these
functions I get an error saying that freetype2 support wasn't included
in the PHP build (??)
Can anybody shed some light on this?
Thomas
Rasmus Lerdorf wrote:
>
> > I try to get the above mentioned to work with the 4.0.6 release on
> > Linux!
> >
> > But even though I provide the configure script with the
> > --enable-gd-native-ttf
> > switch, it reports that the feature is a no go
>
> There was a slight buglet in 4.0.6. Use
>
> --enable-gd-native-tt
>
> instead.
>
> -Rasmus
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]