GD库中字符串中的新行 [英] New lines in a string with GD library

查看:54
本文介绍了GD库中字符串中的新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有可能吗? \ n不起作用,html不起作用,似乎没有任何作用.我知道我可以改成一个新字符串,但这比完成此简单任务所需的工作更多.

Is it possible? \n doesnt work, html doesnt work, nothing seems to work. I know I could just make a new string instead, but that is more effort than should be needed for this simple task.

我该怎么做?

推荐答案

我认为你做不到

您必须输出一个比前一个像素低一些的新字符串.

you have to output a new string some pixels lower than the previous.

\ n不会为您做换行...

\n won't do a linebreak for you...

这篇关于GD库中字符串中的新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆