Re: Re: ImageTTFBBox problems can sombody help
| From: | Rasmus Lerdorf | Date: | Sun, 16 Sep 2001 20:34:14 +0000 |
| Subject: | Re: Re: ImageTTFBBox problems can sombody help | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-67529@lists.php.net to get a copy of this message | ||
Well, the problem is actually in the GD-2 library, not in PHP itself.
-Rasmus
On Sun, 16 Sep 2001, Stephan Figge wrote:
> This is a Problem of PHP 4.06 which has a hardcoded font path. The path
> can't be overridden by the TTF function parameters. The only possible thing
> to do is to find out the correct path PHP is searching in, or use 4.05.
> Should be something like c:/usr/share/fonts/truetype. You can try Filemon
> from www.sysinternals.com to determine the directory.
>
> Stephan Figge
>
>
>
>
> "Claus Bloch" <claus.bloch@mail.tele.dk> wrote in message
> news:20010916120641.13568.qmail@pb1.pair.com...
> > Hi
> >
> > I get an error :: Could not find/open font . My the font is locating at
> the
> > same dir as the file/string that call it:
> > ImageTTFBBox($ttf_size,0,'DRAGONW.ttf',$show_txt);
> >
> > Is the setup of php wrong or what???
> > If you can help me i bee happy
> >
> >
> > Claus Bloch
> > claus.bloch@mail.tele.dk
> >
> >
> >
>
>
>
>