From: Klaus R. <kre...@us...> - 2007-07-16 09:23:12
|
Update of /cvsroot/ming/ming/php_ext In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3679 Modified Files: ming.c Log Message: use SWFFont_fromFile() Index: ming.c =================================================================== RCS file: /cvsroot/ming/ming/php_ext/ming.c,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** ming.c 14 Jul 2007 14:24:02 -0000 1.62 --- ming.c 16 Jul 2007 09:23:00 -0000 1.63 *************** *** 1522,1531 **** if (strcasecmp(Z_STRVAL_PP(zfile)+Z_STRLEN_PP(zfile)-4, ".fdb") == 0 || strcasecmp(Z_STRVAL_PP(zfile)+Z_STRLEN_PP(zfile)-4, ".ttf") == 0) { ! font = newSWFFont(Z_STRVAL_PP(zfile)); } else { PHP_MING_FILE_CHK(Z_STRVAL_PP(zfile)); font = (SWFFont)newSWFBrowserFont(Z_STRVAL_PP(zfile)); } - ret = zend_list_insert(font, le_swffontp); --- 1522,1530 ---- if (strcasecmp(Z_STRVAL_PP(zfile)+Z_STRLEN_PP(zfile)-4, ".fdb") == 0 || strcasecmp(Z_STRVAL_PP(zfile)+Z_STRLEN_PP(zfile)-4, ".ttf") == 0) { ! font = newSWFFont_fromFile(Z_STRVAL_PP(zfile)); } else { PHP_MING_FILE_CHK(Z_STRVAL_PP(zfile)); font = (SWFFont)newSWFBrowserFont(Z_STRVAL_PP(zfile)); } ret = zend_list_insert(font, le_swffontp); |