GD and Image Функции
PHP Manual

imagepsfreefont

(PHP 4, PHP 5)

imagepsfreefontFree memory used by a PostScript Type 1 font

Описание

bool imagepsfreefont ( resource $font_index )

imagepsfreefont() frees memory used by a PostScript Type 1 font.

Параметри

font_index

A font resource, returned by imagepsloadfont().

Връщани стойности

Връща 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);
?>

Бележки

Забележка: Тази функция е налична единствено ако PHP е компилиран с --with-t1lib[=DIR].

Вж. също


GD and Image Функции
PHP Manual