From c8b0ddfe4e1570b83b815a3c9befced24e4d2875 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 29 Dec 2002 14:59:23 +0000 Subject: these patches let ,,oldstyle'' and freetype subtitle renderers live together happily. if an oldstyle subtitle (font.desc) is found, it will be used. otherwise mplayer will choose subfont.ttf, if freetype was detected during ./configure. (also you can use -font /path/to/font.desc and -font /path/to/foobar.ttf too) patch-set by Wojtek Kaniewski git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8636 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmenu/vf_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmenu') diff --git a/libmenu/vf_menu.c b/libmenu/vf_menu.c index a69ba0c397..deba7b9043 100644 --- a/libmenu/vf_menu.c +++ b/libmenu/vf_menu.c @@ -244,7 +244,7 @@ static int config(struct vf_instance_s* vf, int width, int height, int d_width, // here is the right place to get screen dimensions if (force_load_font) { force_load_font = 0; - load_font(width,height); + load_font_ft(width,height); } #endif return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); -- cgit v1.2.3