- UID
- 1606
- 积分
- 1273
- 帖子
- 114
- 主题
- 19
- 论坛币
- 7473
- 威望
- 5
- EP值
- 973
- MP值
- 17
- 阅读权限
- 50
- 注册时间
- 2013-12-1
- 在线时间
- 126 小时
- 最后登录
- 2018-3-10
|
本帖最后由 几年 于 2014-12-14 20:50 编辑
- Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,template line notext,{\p1}!_G.decode.create_font(line.styleref.fontname, line.styleref.bold, line.styleref.italic, line.styleref.underline, line.styleref.strikeout, line.styleref.fontsize).text_to_shape(line.text_stripped)!
复制代码 用这行可以直接处理文字转矢量,不过点都是有小数点,可以自己配合shape.filter 与 math.round处理。
粗体,斜体与下划线,删除线都支持。 |
|