TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

标题: 这段代码的错误原因在哪啊?? [打印本页]

作者: CD灰    时间: 2014-8-9 16:48:52     标题: 这段代码的错误原因在哪啊??

TCC

# tcc file version

< tcc file version = 1.000 >

# mode configuration

< inherit ass header = false >
< k mode = word >
< text layout = horizontal >
< tcaxpy init = true >
< tcaxpy user = false >
< tcaxpy fin = false >

# py settings
< py file = fuck.py >    < beg line = 1 >    < end line = 0 >





< k-timed ass file = fuck_k.ass >
< font file = 方正行楷_GBK.ttc >    < font face id = 1 >    < font size = 35 >
< fx width = 1280 >    < fx height = 720 >    < fx fps = 23.976 >
< alignment = 2 >
< x offset = 10 >    < y offset = 20 >
< spacing = 0 >    < space scale = 1.000 >



# style settings

< font face name = "" >
< bord = 2 >    < shad = 0 >
< primary color = FFFFFF >    < secondary color = 000000 >    < outline color = 38504D >    < back color = 000000 >
< primary alpha = 0 >    < secondary alpha = 240 >    < outline alpha = 0 >    < back alpha = 240 >

# additional settings

< blur = 0.000 >

图片附件: QVW772%3NLK}}98RE6IA]]H.jpg (2014-8-9 16:47:06, 56.78 KB) / 下载次数 1596
http://tcax.org/forum.php?mod=attachment&aid=MTc2NXw3ODdjNThiMnwxNzMyMjM0NDA1fDB8MA%3D%3D


作者: saiyaku    时间: 2014-8-9 21:44:25

字體問題 可能是字體文件名寫錯了
你把字體複製到當前文件夾 複製字體全名
如果還不對的話 換個字體
作者: cf45ffws    时间: 2014-8-10 15:12:14

我的是方正行楷_GBK.ttf

所以用
< font file = 方正行楷_GBK.ttf >    < font face id = 1 >    < font size = 35 >
能正常執行

你可以試試看




欢迎光临 TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua (http://tcax.org/) Powered by Discuz! X2