发博文
My blog

http://blog.chinaunix.net/space.php?uid=7748446

铁血丹心   
个人资料
  • 博客访问:31799
  • 博文数量:8
  • 博客积分:1440
  • 博客等级:上尉
  • 注册时间:2006-12-29 19:17:52
订阅我的博客
  • 订阅
  • 订阅到鲜果
  • 订阅到抓虾
  • 订阅到Google
字体大小: 博文

我的debian etch系统,apt的mplayer,使用一直都很不正常,每次打开都会弹出"Cannot prepare subtitle font"的错误提示,播放任何文件就不停地弹出对话框,很是无奈。
去G了一下,看到一篇文章里好像提到有这个现象。

[quote] 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.[/quote]

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

我的更多文章
亲,您还没有登录,请[登录][注册]后再进行评论