[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] need help in implementing freetype in gd/php
From: |
David Turner |
Subject: |
Re: [Freetype] need help in implementing freetype in gd/php |
Date: |
Tue, 26 Mar 2002 14:09:30 +0100 |
Hello Klaus,
PHP relies on GD 1.x which relies on FreeType 1.x
and _not_ FreeType 2. That's why you cannot build it properly
with FT2..
Regards,
- David Turner
Klaus Spithost a écrit :
>
> Hi there,
> I'm trying to build a Apache including PHP with freetype so that I can use
> (among others) the PHP-function ImageTTFText. I'm using (among other
> things) PHP 4.1.2, Apache 1.3.23, the gd 1.8.4 lib from Boutell, libpng
> 1.2.1, zlib 1.1.3, jpeg v6b and the 2.0.8 freetype lib.
> Somehow I can't get the gd lib compiled with freetype support :-(
> gd compiles great with the standard Makefile but that one doesn't compile
> to something that understands the wanted PHP-functions. Then PHP says
> things to me like:
>
> libgd was not built with FreeType font support
>
> This is a message that I found in a gd-file with the name gdttf.c and it is
> produced when accessing something using gdttf when freetype is not compiled
> into gd.
> When I juggle around with the Makefile of gd to get in the freetype support
> I get a lot of parse-errors in gdttf.c and warnings about variables that
> are not declared and so on and logically gd wil not compile and the wanted
> library is not created.
>
> I'm not a C-wizzard as you might have guessed so everything that has to do
> with interpreting C-code is beyond me. I can't imagine needing any
> C-knowledge for this though because I don't want to change anything in the
> way the functions do their work.
> It propably is something very simple in the settings in the Makefile of gd
> or something like that but I can't seem to figure it out.
> The documentation of gd is slim at best and I haven't found any gd-related
> documentation in the freetype-corner so I'm sort of lost.
>
> Is there anyone out there that has compiled a working Apache with the
> PHP-stuff I was referring to, running on Linux?
>
> If so..... please react. Thanks a million in advance!! Bye,
> Klaus
>
> _________________________________________________________________________
>
> IT-Works, Advies en dienstverlening op het gebied van automatisering.
>
> telefoon: 058-2160815
> fax: 058-2160825
> E-mail: address@hidden
> http://www.it-works.nl
> __________________________________________________________________________
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype