mirror of https://github.com/mpv-player/mpv
font_load_ft.c: disable -fontconfig if compiled without libfontconfig
Set the option value to disabled, not enabled, if the functionality is not available at all. Without this, -font and -subfont do not work when using -ass. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32636 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
da15a4de00
commit
1eb15a1304
|
@ -70,7 +70,11 @@ int vo_image_height = 0;
|
|||
int force_load_font;
|
||||
|
||||
int using_freetype = 0;
|
||||
#ifdef CONFIG_FONTCONFIG
|
||||
int font_fontconfig = 1;
|
||||
#else
|
||||
int font_fontconfig = -1;
|
||||
#endif
|
||||
|
||||
//// constants
|
||||
static unsigned int const colors = 256;
|
||||
|
|
Loading…
Reference in New Issue