红联Linux门户
Linux帮助

求助,关于Mplayer的问题!

发布时间:2009-06-27 22:13:32来源:红联作者:night2080008
我的Mplayer一启动就显示cannot prepare subtitle font!请问该如何解决~~!!!十分焦急



```跪求各位前辈老鸟教我!!!
文章评论

共有 4 条评论

  1. wula9707 于 2009-06-28 15:54:32发表:

    :0w5ty(1

  2. night2080008 于 2009-06-28 10:46:21发表:

    多谢二楼的高手帮助,跪地伏拜!!万分感激~~!!!

  3. LiuCan007 于 2009-06-28 02:35:56发表:

    我也试试

  4. Aqtli 于 2009-06-28 00:02:08发表:

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

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