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

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

WBOY
Release: 2016-06-23 14:20:18
Original
702 people have browsed it

		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));
Copy after login


回复讨论(解决方案)

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template