[MPlayer-users] Mplayer does not display correct subtitle font

Rashkae rashkae at tigershaunt.com
Sat Oct 9 01:14:52 CEST 2010

MPlayer SVN-r32415-snapshot-4.4.3

There is no problem with playing an mkv with ass subtitles, whether or 
not -embeddedfonts or -noembeddedfonts option is used, if the font is 
installed on the system, the subtitles display with the correct font.

However, when playing a file with simple srt subtitles and using the 
-font option to select a font, (usually, Arial) Mplayer chooses a 
completely different font to display.

ass=1 and embeddedfonts=1 are enabled in the mplayer.conf file

Arial is indeed installed on my system and works perfectly in all other 
apps. including the version of Mplayer that was shipped with Ubuntu Lucid.

Here is some interesting -v output when subtitles are displayed:

*** [ass] Exporting mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
plaintext event at 90, +4840: This is a fictional work. Any resemblance 
to actua\Npersons or organizations is purely coincidental.
[ass] PlayResX undefined, setting to 384
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
Unicode font: 1185 glyphs.
Unicode font: 1185 glyphs.
A:   0.1 V:   0.1 A-V:  0.002 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 96%
[ass] Font info: family 'Arial', style 'Normal', fullname 'Eco-Files', 
slant 0, weight 80
[ass] fontconfig_select: (Arial, 80, 0) -> 
/usr/share/fonts/rashkae/Eco2.ttf, 0
A:   1.4 V:   1.4 A-V:  0.001 ct:  0.001   0/  0  5% 10%  0.8% 0 0 96%

More information about the MPlayer-users mailing list