php - imagick里面怎么设置fontweight,用setFontWeight没用,是和字体文件有关吗?字体文件是ttf
PHPz
PHPz 2017-04-10 17:40:57
0
0
364
 $text_img = new ImagickDraw();
 $text_img->setFont($font);
 $text_img->setGravity(Imagick::GRAVITY_NORTH);
 $text_img->setFillColor(new ImagickPixel($color));
 $text_img->setFontSize($font_size);
 $text_img->setFontWeight(100);
 
 
 
   这样设置字体weight没用,用的ttf的字体,写的出来的图片没用效果,weight都是一样的。。。是什么问题
PHPz
PHPz

学习是最好的投资!

membalas semua(0)
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan