imagepsloadfont returns wrong datatype
| From: | Michael Winston | Date: | Fri, 10 Oct 2003 18:34:46 +0000 |
| Subject: | imagepsloadfont returns wrong datatype | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165778@lists.php.net to get a copy of this message | ||
Hi-
I *finally* got imagepsloadfont() to work on my Mac OS X box (it helps if you actually have a .pfb file). Now I'm having problems with another aspect of imagepsloadfont(). The docs say it should return an int, however it's returning a resource.
I'm guessing this is why imagestring and imagepstext aren't working - because they require an int for the font.
Is this a bug? Am I doing something wrong? Am I not understanding the docs?
Thanks,
Michael