将中文输出到图片,需要在服务器安装在服务器安装中文字体么?
怎么安装?安装到哪个位置呢?
据说还要对中文进行编码?这个编码是怎么搞的?求知道:)
——解决方案——————–
array imagettftext ( resource image, float size, float angle, int x, int y, int color, string fontfile, string text )
fontfile 参数就是需要的目录
只要你的服务器支持,ttf、ttc 文件均可
——解决方案——————–
需要。
——解决方案——————–
嗯,应该要1本文来#源gaodai$ma#com搞$代*码*网
搞代gaodaima码
字体支持!
——解决方案——————–
ttf
——解决方案——————–
1.注意路径
2.有的字体不支持中文
——解决方案——————–
你输出两个英文或者数字 正常的话 你就去换字体就对了.