Mercurial > mplayer.hg
changeset 32549:cf1f4f5bc096
Set font_fontconfig to -1 if CONFIG_FONTCONFIG is not configured.
Without this, -font and -subfont do not work when using -ass.
author | komh |
---|---|
date | Sat, 20 Nov 2010 11:39:05 +0000 |
parents | ffbacc2a87fc |
children | 90d5c68ddb7b |
files | sub/font_load_ft.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sub/font_load_ft.c Sat Nov 20 10:47:58 2010 +0000 +++ b/sub/font_load_ft.c Sat Nov 20 11:39:05 2010 +0000 @@ -71,7 +71,11 @@ 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;