imagepsslantfont

(PHP 4, PHP 5)

imagepsslantfont锟斤拷斜某锟斤拷锟斤拷

说锟斤拷

imagepsslantfont ( resource $font_index , float $slant ) : bool

锟斤拷 slant 锟斤拷锟斤拷指锟斤拷锟斤拷锟斤拷斜值锟斤拷锟斤拷斜 font_index 锟斤拷锟斤拷指锟斤拷锟斤拷锟斤拷锟藉。

Note: 锟剿猴拷锟斤拷锟斤拷锟斤拷 PHP 锟斤拷锟斤拷时指锟斤拷锟斤拷 --with-t1lib[=DIR] 时锟斤拷锟矫★拷

锟斤拷锟斤拷

font_index

A font resource, returned by imagepsloadfont().

slant

Slant level.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟斤拷锟斤拷

Example #1 imagepsslantfont() example

<?php
// Load a .pfb font file
$font imagepsloadfont('./px3l.pfb');

// Slant the font by 22.5
imagepsslantfont($font22.5);

// Do any operations with the font here

// Free the font from memory
imagepsfreefont($font);
?>

注锟斤拷

Note: 锟剿猴拷锟斤拷锟斤拷锟斤拷 PHP 锟斤拷锟斤拷时指锟斤拷锟斤拷 --with-t1lib[=DIR] 时锟斤拷锟矫★拷