Re: Re: Bug #12599 Updated: ImageTTFText doesn't open font file
Well, then you didn't search for the right
thing...
On Mon, 06 Aug 2001, Carlos Viana wrote:
> I did search it before, with no results.
>
> > ID: 12599
> > Updated by: sniper
> > Reported By: carlos.a.viana@pop3si.com
> > Old Status: Open
> > Status: Closed
> > Bug Type: GD related
> > Operating System: Win98
> > PHP Version: 4.0.6
> > New Comment:
> >
> > This has been fixed in CVS already. Next time, use the search before
> submitting bug reports..
> >
> > --Jani
> >
> >
> > Previous Comments:
> > ----------------------------------------------------------------------
> --
> >
> > [2001-08-06 10:56:33] carlos.a.viana@pop3si.com
> >
> > The following code generates this warning (doesn't happen with 4.0.5):
> > <b>Warning</b>: Could not find/open font in
> <b>d:\public_html\image_create.php</b> on line <b>357</b><br>
> >
> > Code:
> > <?php
> > Header ("Content-type: image/jpeg");
> > $im = imagecreate (400, 30);
> > $black = ImageColorAllocate ($im, 0, 0, 0);
> > $white = ImageColorAllocate ($im, 255, 255, 255);
> > ImageTTFText ($im, 20, 0, 10, 20,
> $white, "D:/public_html/fonts/a.ttf", "Testing... Omega: Ω");
> > ImageJpeg ($im);
> > ImageDestroy ($im);
> > ?>
> >
> > ----------------------------------------------------------------------
> --
> >
> >
> >
> > ATTENTION! Do NOT reply to this email!
> > To reply, use the web interface found at http://bugs.php.net/?
> id=12599&edit=2
> >
> >
> >
>
> -------------------------
> Carlos Viana
> [webmaster@pop3si.com]
> [carlos.a.viana@pop3si.com]
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread (5 messages)