IMAGEPSEXTENDFONT(3) 1 IMAGEPSEXTENDFONT(3)
imagepsextendfont - Extend or condense a font
SYNOPSIS
bool imagepsextendfont (resource $font_index, float $extend)
DESCRIPTION
Extend or condense a font ($font_index), if the value of the $extend parameter is less than one you will be condensing the font.
PARAMETERS
o $font_index
- A font resource, returned by imagepsloadfont(3).
o $extend
- Extension value, must be greater than 0.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
imagepsextendfont(3) example
<?php
// Load a .pfb font file
$font = imagepsloadfont('./px3l.pfb');
// Extend the font by 2.5
imagepsextendfont($font, 2.5);
// 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].
PHP Documentation Group IMAGEPSEXTENDFONT(3)