IMAGEPSFREEFONT(3) 1 IMAGEPSFREEFONT(3)
imagepsfreefont - Free memory used by a PostScript Type 1 font
SYNOPSIS
bool imagepsfreefont (resource $font_index)
DESCRIPTION
imagepsfreefont(3) frees memory used by a PostScript Type 1 font.
PARAMETERS
o $font_index
- A font resource, returned by imagepsloadfont(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
imagepsfreefont(3) 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);
?>
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 7.0.0 | |
| | |
| | T1Lib support was removed from PHP, thrus remov- |
| | ing this function. |
| | |
+--------+---------------------------------------------------+
NOTES
Note
This function is only available if PHP is compiled using --with-t1lib[=DIR].
SEE ALSO
imagepsloadfont(3).
PHP Documentation Group IMAGEPSFREEFONT(3)