1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/sub
wm4 ff2aed2b56 sub: make font provider user-selectable
libass had an API to configure this since 2013. mpv always used
ASS_FONTPROVIDER_AUTODETECT, because usually there's little reason to
use anything else. The intention of the now added option is to allow
users to disable use of system fonts.

I didn't consider it worth the trouble to add the coretext and
directwrite enum items from ASS_DefaultFontProvider. The "auto" choice
will have the same effect if they're available. Also, the part of the
code which defines the option does not necessarily have libass available
(it's still optional!), so defining all enum items as choices is icky. I
still added fontconfig, since that may be nice to emulate a nostalgic
2010 feeling of mpv freezing on fontconfig.

The option for OSD is even less useful. (But you get it for free, and
why pass up a chance to add yet another useless option?)

This is not quite what was requested in #6947, but as close as it gets.
2019-09-25 22:11:48 +02:00
..
ass_mp.c sub: make font provider user-selectable 2019-09-25 22:11:48 +02:00
ass_mp.h ass_mp: change license to LGPL 2017-04-20 12:53:09 +02:00
dec_sub.c command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
dec_sub.h command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
draw_bmp.c draw_bmp: Fix for GBRP formats GBRP9 and up 2019-09-22 15:59:24 +02:00
draw_bmp.h
filter_sdh.c sub: recognize UTF-8 characters in SDH subtitle filter 2019-03-02 02:05:58 +01:00
img_convert.c sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c sub/lavc_conv: skip ReadOrder reset when subtitle decoder gets flushed 2019-09-21 22:02:17 +03:00
osd_dummy.c command: shorten long playlists on OSD 2017-01-26 18:24:53 +01:00
osd_font.otf osd-font: make volume muted glyph slightly thicker 2017-04-22 18:03:16 +01:00
osd_libass.c options: move most subtitle and OSD rendering options to sub structs 2018-01-02 14:27:37 -08:00
osd_state.h options: move most subtitle and OSD rendering options to sub structs 2018-01-02 14:27:37 -08:00
osd.c sub: make font provider user-selectable 2019-09-25 22:11:48 +02:00
osd.h sub: make font provider user-selectable 2019-09-25 22:11:48 +02:00
sd_ass.c command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
sd_lavc.c command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
sd.h command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00