[CentOS] Something to test in php 5.2

Sat Dec 27 02:11:32 UTC 2008
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

On Fri, 2008-12-26 at 03:10 -0800, Michael A. Peters wrote:
> Since people are testing php 5.2 in the CentOS repo - here's a bug I 
> found in my own build of 5.2 that probably is a general php bug - but is 
> worth testing on the CentOS testing packages.
> 
> If using imagefttext with a Postscript type 1 font -
> 
> $lstring="©" . date("Y") . " My Real Name";
> 
> or
> 
> $lstring=html_entity_decode("©", ENT_COMPAT, "UTF-8") . date("Y") . 
> "My Real Name";
> 
> both result in a ' instead of a © when rendered on the image.
> 
> Works fine with a TrueType font, only an issue with Type1 fonts.
> 
> Well, I only tried the second (with html_entity) with a ttf font, but 
> point is it doesn't do what it is suppose to do with ps fonts.

What do wget and od have to say about what's being returned?

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20081226/4db362a6/attachment-0005.sig>