diff options
-rw-r--r-- | libvo/sub.c | 2 | ||||
-rw-r--r-- | mplayer.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libvo/sub.c b/libvo/sub.c index 8f265e5461..a63c090c13 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -534,7 +534,7 @@ int vo_update_osd(int dxs,int dys){ #ifdef HAVE_FREETYPE // here is the right place to get screen dimensions - if (!vo_font && force_load_font) { + if (!vo_font || force_load_font) { force_load_font = 0; load_font_ft(dxs, dys); } @@ -2561,6 +2561,11 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) vo_osd_progbar_type=OSD_PANSCAN; vo_osd_progbar_value=vo_panscan*256; vo_osd_changed(OSDTYPE_PROGBAR); +#ifdef HAVE_FREETYPE + if (subtitle_autoscale == 2) + // force scaling font to movie width + force_load_font = 1; +#endif } #endif } |