|
imagepsbboxGive the bounding box of a text rectangle using PostScript Type1 fonts Warning
This function was REMOVED in PHP 7.0.0. Description
array imagepsbbox
( string
$text
, resource $font
, int $size
)
array imagepsbbox
( string
$text
, resource $font
, int $size
, int $space
, int $tightness
, float $angle
)Gives the bounding box of a text rectangle using PostScript Type1 fonts. The bounding box is calculated using information available from character metrics, and unfortunately tends to differ slightly from the results achieved by actually rasterizing the text. If the angle is 0 degrees, you can expect the text to need 1 pixel more to every direction. Parameters
Return ValuesReturns an array containing the following elements:
ExamplesExample #1 imagepsbbox usage
<?php Changelog
Notes
See Also
|