# HG changeset patch # User reimar # Date 1351806160 0 # Node ID 996c2f5657b38b6da1513c3d7b35994bd1343c78 # Parent 1d9aaca726723d9c13449f70c42715fc0b1b8ee1 More strict check so it is actually possible to trigger. A font with only the "fallback" character is rather useless. diff -r 1d9aaca72672 -r 996c2f5657b3 sub/font_load_ft.c --- a/sub/font_load_ft.c Thu Nov 01 21:31:53 2012 +0000 +++ b/sub/font_load_ft.c Thu Nov 01 21:42:40 2012 +0000 @@ -787,7 +787,7 @@ charset_size = count; iconv_close(cd); - if (charset_size==0) { + if (charset_size <= 1) { mp_msg(MSGT_OSD, MSGL_ERR, "No characters to render!\n"); return -1; }