diff options
author | Grigori Goronzy <greg@blackbox> | 2010-01-25 13:57:32 +0100 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-01-27 12:46:59 +0200 |
commit | 42a87fc6113bc14bbd14681e209a8c91c4b87a90 (patch) | |
tree | 272e1cdfe7dd867ed2a4d1563a03940f307f3342 /mplayer.c | |
parent | e28e4a1b157bd0e9620fcff956d713a9921f506c (diff) | |
download | mpv-42a87fc6113bc14bbd14681e209a8c91c4b87a90.tar.bz2 mpv-42a87fc6113bc14bbd14681e209a8c91c4b87a90.tar.xz |
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.
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |