|
|
在totem和gxine里测试成功
1、生成字体
#cd /usr/share/xine/libxine1/fonts
#xine-fontconv /usr/share/fonts/truetype/arphic/gbsn00lp.ttf gbsn00lp gbk
2、编辑配置文件
totem的在~/.gnome2/totem_config
gxine的在~/.gxine/config
更改这两行为
misc.spu_font:gbsn00lp
misc.spu_src_encoding:gbk
3、命令行启动
#totem file:///home/bowill/video/free.avi#subtitle:file:///home/bowill
/video/free.srt
或
#gxine file:///home/bowill/video/free.avi#subtitle:file:///home/bowill
/video/free.srt
注意:很多没弄成功都因为这里的路径格式不正确!
备注:xine-fontconv有的发行版没打包该文件,如debian。编译时需要libfreetype6-dev的库,下载完进入misc子目录,执行如下命令编译
#gcc -o xine-fontconv xine-fontconv.c `freetype-config --cflags --libs` -lz
因为只需要这一文件,所以不用编译整个包。
哈哈,祝大家过个好圣诞节! |
|