LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 952|回复: 2

mplayer老是提示"cannot prepare subtitle font"

[复制链接]
发表于 2007-1-3 13:16:45 | 显示全部楼层 |阅读模式
apt安装的mplayer,etch系统,每次打开mplayer的时候都会有个提示框显示cannot prepare subtitle font,用来播放rmvb电影的话就会不停地弹出,很是郁闷,去g了一下也没看到有啥名堂(可能RP问题没找到),哪位可以赐教一下,谢了先。
 楼主| 发表于 2007-1-5 11:49:49 | 显示全部楼层
it's not the problem of locale setting at all.
in mdv 2007', the default setting on 'fontconfig' of mplayer.conf in /etc/mplayer/ is yes. however the documentation tells us :
'If MPlayer was compiled with fontconfig support, the above methods won't work, instead -font expects a fontconfig font name and defaults to the sans-serif font. ...'
(http://www.mplayerhq.hu/DOCS/HTML/en/fonts-osd.html)
so it's quite possiblely just the problem of this default setting.

in my own experience,at first i also got lots of following warning:
Selected font is not scalable. Using ppem=15.
FT_Set_Pixel_Sizes failed.
Wrong bounding box, width <= 0 !
Cannot prepare subtitle font.
even if i had specified the font in the .conf file or in command line.
when i disable the setting of 'fontconfig=yes' in the .conf ,there is no more 'using ppem=15' warning at all.


似乎这个问题和fontconfig有关系,vim /etc/mplayer/mplayer.conf,将fontconfig = yes  --->no,现在使用一切正常。
回复 支持 反对

使用道具 举报

发表于 2007-1-9 09:43:04 | 显示全部楼层
似乎装了simsun就好了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表