免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1290 | 回复: 0
打印 上一主题 下一主题

mplayer的"Cannot prepare subtitle font"解决办法。 [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之浙江
日期:2021-04-15 16:55:45
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-03 13:45 |只看该作者 |倒序浏览
我的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
  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,现在使用一切正常。
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/29231/showart_225535.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP