summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-05 19:18:08 +0100
committerwm4 <wm4@nowhere>2015-01-05 19:18:08 +0100
commit067bb9605c6333bf9d552d1c12f65ccadbb2fc2f (patch)
treef2c1ab202d0f517f195addbdd7e43116bcb8e5b0 /DOCS
parent2ab259e6832dff38f13cdaa2a8c83b273efa8ec7 (diff)
downloadmpv-067bb9605c6333bf9d552d1c12f65ccadbb2fc2f.tar.bz2
mpv-067bb9605c6333bf9d552d1c12f65ccadbb2fc2f.tar.xz
sub: add option to not scale subtitles with window
--sub-scale-by-window=no attempts to keep subs always at the same pixel size. The implementation is a bit all over the place, because it compensates already done scaling by an inverse scale factor, but it will probably do its job. Fixes #1424. (The semantics and name of --sub-scale-with-window are kept, and this adds a new option - the name is confusingly similar, but it's actually analogue to --osd-scale-by-window.)
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 44ef87b137..ffe4cb1b08 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1123,12 +1123,23 @@ Subtitles
This affects ASS subtitles as well, and may lead to incorrect subtitle
rendering. Use with care, or use ``--sub-text-font-size`` instead.
+``--sub-scale-by-window=<yes|no>``
+ Whether to scale subtitles with the window size (default: yes). If this is
+ disabled, changing the window size won't change the subtitle font size.
+
+ Like ``--sub-scale``, this can break ASS subtitles.
+
``--sub-scale-with-window=<yes|no>``
Make the subtitle font size relative to the window, instead of the video.
This is useful if you always want the same font size, even if the video
doesn't covert the window fully, e.g. because screen aspect and window
aspect mismatch (and the player adds black bars).
+ This option is misnamed. The difference to the confusingly similar sounding
+ option ``--sub-scale-by-window`` is that ``--sub-scale-with-window`` still
+ scales with the approximate window size, while the other option disables
+ this scaling.
+
Like ``--sub-scale``, this can break ASS subtitles.
``--embeddedfonts``, ``--no-embeddedfonts``