mplayer
在fedora 9上使用mplayer总是出现如下错误,没法看片。
Selected font is not scalable. Using ppem=15. FT_Set_Pixel_Sizes failed. Wrong bounding box, width <= 0 ! Cannot prepare subtitle font.
后来查到是在/etc/mplayer/mplayer.conf里面fontconfig设置为yes,而相应的font为Sans。要解决这个问题,只要把font设置为一个fc-list命令返回的字体名即可。下面是我的~/.mplayer/config配置文件的内容
subcp="cp936" font="文鼎PL中楷Uni,AR PL ZenKai Uni"


2 条评论:
刚看到了,怎好遇到,没想到你已经解决了
Thank you for the post. Out of all the google search results, this is the only method that works for me.
Also, for some unknown reason, the font="xxx" line must be set in ~/.mplayer/config. Setting it in /etc/mplayer/mplayer.conf doesn't work.
发表评论
指向此帖子的链接:
创建链接
<< 主页