Slant a font
$font_index
$slant
Slant a given font given.
font_index
A font resource, returned by imagepsloadfont.
slant
Slant level.
Returns TRUE on success or FALSE on failure.
TRUE
FALSE
Example #1 imagepsslantfont example
<?php// Load a .pfb font file$font = imagepsloadfont('./px3l.pfb');// Slant the font by 22.5imagepsslantfont($font, 22.5);// Do any operations with the font here// Free the font from memoryimagepsfreefont($font);?>
Note: This function is only available if PHP is compiled using --with-t1lib[=DIR] .