From 42a87fc6113bc14bbd14681e209a8c91c4b87a90 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 25 Jan 2010 13:57:32 +0100 Subject: Disable libass fallbacks for fontconfig < 2.4.2 libass doesn't support fontconfig < 2.4.2 so fallbacks for these ancient versions aren't needed anymore. Also update the man page (English, German) to reflect the change. Additionally note that -embeddedfonts controls the use of ASS script embedded fonts too. -embeddedfonts is now always enabled by default. Fonts are never extracted into a directory anymore but passed to libass via memory. --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index de1c8e08f0..a6e3882157 100644 --- a/mplayer.c +++ b/mplayer.c @@ -3670,7 +3670,7 @@ if (opts->ass_enabled && ass_library) { struct demuxer *d = mpctx->sources[j].demuxer; for (int i = 0; i < d->num_attachments; i++) { struct demux_attachment *att = d->attachments + i; - if (extract_embedded_fonts + if (use_embedded_fonts && att->name && att->type && att->data && att->data_size && (strcmp(att->type, "application/x-truetype-font") == 0 || strcmp(att->type, "application/x-font") == 0)) -- cgit v1.2.3