cvs: php4 /ext/gd gd.c
| From: | Jani Taskinen | Date: | Fri, 28 Jun 2002 09:53:25 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12595@lists.php.net to get a copy of this message | ||
sniper Fri Jun 28 05:53:25 2002 EDT
Modified files:
/php4/ext/gd gd.c
Log:
Fix bug: #14735
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.196 php4/ext/gd/gd.c:1.197
--- php4/ext/gd/gd.c:1.196 Fri Jun 28 05:23:50 2002
+++ php4/ext/gd/gd.c Fri Jun 28 05:53:25 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.196 2002/06/28 09:23:50 sniper Exp $ */
+/* $Id: gd.c,v 1.197 2002/06/28 09:53:25 sniper Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -2936,6 +2936,7 @@
ZEND_FETCH_RESOURCE(f_ind, int *, fnt, -1, "Type 1 font", le_ps_font);
+ T1_DeleteAllSizes(*f_ind);
if (T1_ExtendFont(*f_ind, Z_DVAL_PP(ext)) != 0) RETURN_FALSE;
RETURN_TRUE;