summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 45db6993b5..fc0a926b6f 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2840,6 +2840,7 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
if(!font_fontconfig)
{
#endif
+#ifdef HAVE_BITMAP_FONT
if(font_name){
vo_font=read_font_desc(font_name,font_factor,verbose>1);
if(!vo_font) mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CantLoadFont,font_name);
@@ -2850,6 +2851,7 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
if(!vo_font)
vo_font=read_font_desc(MPLAYER_DATADIR "/font/font.desc",font_factor,verbose>1);
}
+#endif
#ifdef HAVE_FONTCONFIG
}
#endif