(PHP 4, PHP 5)
imagepsfreefont — Free memory used by a PostScript Type 1 font
$font_index
)imagepsfreefont() frees memory used by a PostScript Type 1 font.
如果成功則回傳 TRUE
,失敗則回傳 FALSE
。
Example #1 imagepsfreefont() example
<?php
// Load a .pfb font file
$font = imagepsloadfont('./bchbi.pfb');
// Do any operations with the font here
// Free the font from memory
imagepsfreefont($font);
?>
Note: 本函式僅在 PHP 編譯時指定了 --enable-t1lib 時可用。