Mercurial > mplayer.hg
changeset 15078:b22f4ce0580a
reload font on each change of the display size
author | henry |
---|---|
date | Sat, 09 Apr 2005 22:25:33 +0000 |
parents | a893e0bfa9d6 |
children | 1b96e77f5c33 |
files | libvo/sub.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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); }