Mercurial > mplayer.hg
diff libvo/sub.c @ 15078:b22f4ce0580a
reload font on each change of the display size
author | henry |
---|---|
date | Sat, 09 Apr 2005 22:25:33 +0000 |
parents | e047e70a9767 |
children | 1f8a1de5585c |
line wrap: on
line diff
--- a/libvo/sub.c Sat Apr 09 14:50:36 2005 +0000 +++ b/libvo/sub.c Sat Apr 09 22:25:33 2005 +0000 @@ -764,7 +764,10 @@ #ifdef HAVE_FREETYPE // here is the right place to get screen dimensions - if (!vo_font || force_load_font) { + if (!vo_font + || force_load_font + || ((dxs != vo_image_width || dys != vo_image_height) + && (subtitle_autoscale == 2 || subtitle_autoscale == 3))) { force_load_font = 0; load_font_ft(dxs, dys); }