summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-06 12:27:39 +0000
committerfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-06 12:27:39 +0000
commitcb66d1f0f73b64f1c3b791b3658c08afddcda362 (patch)
treec7dd7062fda07ca0786540a17f8e13b78d10481c /mplayer.c
parent5ba5288d2e5e100ec1966dfc1ddc149590b3e469 (diff)
downloadmpv-cb66d1f0f73b64f1c3b791b3658c08afddcda362.tar.bz2
mpv-cb66d1f0f73b64f1c3b791b3658c08afddcda362.tar.xz
Update font scale after changing pancan.
It makes fonts keep scale when they are set to be proportional to width. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8820 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index c537aea5ec..1e6438b1f1 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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
}