note 2729 deleted from ImageTTFText by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 07:47:10 +0000 |
| Subject: | note 2729 deleted from ImageTTFText by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1051@lists.php.net to get a copy of this message | ||
i posted to the mailing list a while ago and got this response which
worked beautifully, thanks go to Rasmus :-)
> If you look in ext/gd/gdttf.c you will see this code:
> #if HAVE_LIBGD13
> pixel = > &im->pixels[y3][x3];
> #else
> pixel = > &im->pixels[x3][y3];
> #endif
>
>
> Thus, if you have HAVE_LIBGD13 defined > and you are not actually using
> gd-1.3, your text will be backwards. > Edit php_config.h and toggle the
> setting of HAVE_LIBGD13 and recompile > (touch ext/gd/gdttf.c to make sure
> it gets recompiled)