Username: Password:

mplayer的"Cannot prepare subtitle font"解决办法。
来源: ChinaUnix博客  作者: ChinaUnix博客   发布时间:2007-01-01 13:45:00

我的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
  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,现在使用一切正常。
               
               
               

喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅