1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

DOCS/man/options.rst: recommend --osd-scale-by-window for UI scale

This recommends querying the value of this option when drawing UI elements.
This allows a greater level of consistency by using a single flag which
already controls the scaling behavior of the OSD to control the behavior
of all scripts.

Also fix a capitalization nearby.
This commit is contained in:
nanahi 2024-05-16 09:47:44 -04:00 committed by Kacper Michajłow
parent b11f236eb9
commit e61911c513

View File

@ -4474,12 +4474,18 @@ OSD
are always in actual pixels. The effect is that changing the window size
won't change the OSD font size.
.. note::
For scripts which draw user interface elements, it is recommended to
respect the value of this option when deciding whether the elements
are scaled with window size or not.
``--osd-shadow-color=<color>``
See ``--sub-color``. Color used for OSD shadow.
.. note::
ignored when ``--osd-back-color`` is specified (or more exactly: when
Ignored when ``--osd-back-color`` is specified (or more exactly: when
that option is not set to completely transparent).
``--osd-shadow-offset=<size>``