On Wednesday 19 November 2003 06:32, Kevin Stone wrote:

> I am producing a script that writes text onto a JPEG image to create
> custom printable gift certificates for an online store.  The basics of
> the scripts are straight forward.  However I found that the
> imagestring() function produces absolutely horrible looking pixelized
> text and on these gift certificates looks are important.  I attempted to
> employ the imagepstext() family of functions but they do not appear to
> be installed on this account (it's a shared server), I'm getting "call
> to undefined function" errors.
>
> So my question is; Is there any other way to produce good looking
> anti-aliased text on an image?  I'd appreciate any information, classes
> and links to guides you can point me to.

Using imagettftext() would be the easiest. As the lastest versions of PHP are 
bundled with GD *and* have native support for TrueType fonts it really isn't 
too difficult for your host to recompile PHP to enable such support.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Lots of folks confuse bad management with destiny.
                -- Frank Hubbard
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to