[MPlayer-users] MPlayer not loading correct font

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu May 1 02:51:41 CEST 2008

On Wednesday 30 April 2008 01:09:32 José Filipe wrote:
> MPlayer is not loading the correct font from a Matroska file.
> The font is Ottawa Bold and I've already installed the .ttf.
> I've also rebuilt the fc-cache and the font appears in a fc-list.
> This is how it should appear:
> http://img170.imageshack.us/img170/7077/perianrightfontszk9.jpg
> This is how it appears:
> http://img170.imageshack.us/img170/3465/mplayerwrongfontsxg7.jpg
> Although the screens are from a MPlayer OS X build, the command-line build
> has the same problem.
> This is the error I get:
> [ass] fontconfig: Selected font family is not the requested one: 'Bitstream
> Vera Sans' != 'Ottawa Bold'
> You can get the files from these torrents: http://a.scarywater.net/saizen/
> MPlayer dev-SVN-r26548 on a Mac OS X 10.4.11, 768 MB of RAM, fontconfig
> 2.5.0_0 and freetype 2.3.5_1.

That's because font family is 'Ottawa', not 'Ottawa Bold'.

I've fixed it in svn r26623 in a slightly hackish way. It might break with 
some other fonts, but, IMO, very unlikely.

More information about the MPlayer-users mailing list