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 --- libvo/sub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvo/sub.c') diff --git a/libvo/sub.c b/libvo/sub.c index fe9385ba93..6bfb0d7d5c 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -526,9 +526,9 @@ int vo_update_osd(int dxs,int dys){ #ifdef HAVE_FREETYPE // here is the right place to get screen dimensions - if (force_load_font) { + if (!vo_font && force_load_font) { force_load_font = 0; - load_font(dxs, dys); + load_font_ft(dxs, dys); } #endif -- cgit v1.2.3