Home >Backend Development >PHP Tutorial >我这验证码能不能将画出来的图像定义下字体?

我这验证码能不能将画出来的图像定义下字体?

WBOY
WBOYOriginal
2016-06-23 14:20:18697browse

		imageString($aimg,mt_rand(4,5),$i*$x_size/4+mt_rand(1,5),mt_rand(1,6),$nmsg[$i],imageColorAllocate($aimg,3, 80, 136));


回复讨论(解决方案)

不可以,imageString 使用的是内置的点阵字库
imagettftext 可以

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn