note 17866 added to function.imagepsextendfont

From: Date: Sat, 29 Dec 2001 23:31:16 +0000
Subject: note 17866 added to function.imagepsextendfont
Groups: php.notes 
Request: Send a blank email to php-notes+get-23947@lists.php.net to get a copy of this message
As of 4.1.1 you can't call ImagePSExtendFont more than once for the same font resource id. In order to do this you need to rebuild PHP with the following change in the imagepsextendfont function in ext/gd/gd.c: /* ADD THIS: */ T1_DeleteAllSizes(*f_ind); /** RIGHT BEFORE: **/ if (T1_ExtendFont(*f_ind, Z_DVAL_PP(ext)) != 0) RETURN_FALSE; RETURN_TRUE; That will allow you to call the function twice for the same font resource. This has also been submitted as bug #14735 at http://bugs.php.net -- http://www.php.net/manual/en/function.imagepsextendfont.php http://master.php.net/manage/user-notes.php?action=edit+17866 http://master.php.net/manage/user-notes.php?action=delete+17866 http://master.php.net/manage/user-notes.php?action=reject+17866

« previous php.notes (#23947) next »