# HG changeset patch # User henry # Date 1113085533 0 # Node ID b22f4ce0580a728261699e2cbfcbcbe292139418 # Parent a893e0bfa9d6070f802ed83683822cb2c25b477f reload font on each change of the display size diff -r a893e0bfa9d6 -r b22f4ce0580a libvo/sub.c --- 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); }