Unix and Linux Discussions Tagged with extend |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
5,815 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
12,108 |
AIX |
|
|
|
1 |
12,763 |
Filesystems, Disks and Memory |
|
|
|
5 |
4,443 |
Red Hat |
|
|
|
0 |
741 |
Software Releases - RSS News |
|
|
|
1 |
7,469 |
Filesystems, Disks and Memory |
|
|
|
5 |
18,832 |
Solaris |
|
|
|
0 |
1,363 |
UNIX and Linux RSS News |
|
|
|
2 |
15,967 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
4,177 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,744 |
UNIX for Dummies Questions & Answers |
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)