[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP4/GD/Freetype: Where does it look for fonts?



le 5.10.2001 16:13, Blandford, Simon [BSS Audio UK] à
Simon.Blandford@xxxxxxxxx a écrit :

> I have set up a RAQ3 with PHP 4.0.6, GD 1.8.x and Freetype 2.x. The phptest
> screen shows all systems functioning OK. I haven't fully tested it yet with
> an application but something did occur to me that might be a problem.
> 
> Where is this combination of packages going to look for fonts considering a
> RAQ3 doens't have any other use for them?
> 
> What fonts should I put there, wherever it is? Can I just copy the ttf files
> out of my Windows directory?
> 
> This may seem like basic questions but I was unable to find any docs on PHP
> or Freetype about this.
> 
> 
> The aim is to get Typo 3 (www.typo3.org) working. When I do I shall post a
> detailed RAQ3-specific how-to. I am writing one as I go.
> 
> Regards,
> Simon B.

You will not not be able to use TTF's unless you declare
--with-ttf=/usr/lib/libttf.so in your ./configure line.

The TTF's can then be placed anywhere. You will just need to specify the
emplacement of the fonts in your script