开发者

Bend a vector image (text) with script language

We want to show a dynamic text (ttf font, or similar) in a generated开发者_如何学Go vector image (svg, pdf) and it should be bended similar like the names on a football shirt. Is there any command line tool or other possibility to do that? It is important that it is a vector graphic since the output will be printed on cloths!

Thanks a million.


You can use SVG and its textPath Element. This Element allows to place text along a path, which is exactly what you need. You don't need a script language or special tools. You just have to generate plane svg, best with a svg library, depending on the environment and language you prefer.


ImageMagick has a rich text feature, please check out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜