mpv/sub
Kacper Michajłow 8c3a7da619 sub/osd/console: adjust font sizes
The current OSD font size is excessively large, causing most
messages—except for very short ones to overflow horizontally.

I conducted testing across multiple devices of varying screen sizes and
under different scenarios. The adjusted font size strikes a good balance
for readability on non-high-DPI displays, while high-DPI displays should
utilize DPI scaling as needed.

Additionally, I compared the font sizes of subtitles and UI elements
across various VOD platforms, which generally use smaller font in most
cases.

The current sub font size was significantly larger than even PGS
subtitles, which are quite large on their own. Now, they are comparable.

The subtitle font size was chosen based on recommendations from the BBC
Subtitle Guidelines. It is set to 8% of the video height with a
recommended scaling factor of 0.67. Therefore, at 720p (the reference
size for mpv font scaling), the calculation is 8% * 0.67 * 720 = 38.592,
rounded down to 38. This value falls within the recommended scaling
range of x0.5–x1 for desktop PCs/Laptops and TVs (32"–42"). For more
information, see
https://www.bbc.co.uk/accessibility/forproducts/guides/subtitles/#Presentation-font-size.

OSD font size is smaller than font as those elements shouldn't be
distractful and only noticable when the user wants to look at them.

Outline size is set to 5.5% of font size.
2024-11-18 09:50:22 +01:00
..
ass_mp.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
ass_mp.h sub: add flag if sub_bitmap should be rendered in video color space 2024-03-02 15:57:02 +00:00
dec_sub.c sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
dec_sub.h sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
draw_bmp.c all: add missing repr assignments 2024-01-26 18:17:02 +02:00
draw_bmp.h csputils: replace mp_alpha_type with pl_alpha_mode 2024-01-22 14:54:55 +00:00
filter_jsre.c sd_ass: allow get_text to return more than 500 bytes 2024-04-27 01:19:56 +02:00
filter_regex.c sd_ass: allow get_text to return more than 500 bytes 2024-04-27 01:19:56 +02:00
filter_sdh.c filter_sdh: optimize get_char_bytes 2024-01-15 16:05:17 +00:00
img_convert.c various: replace some OOM handling 2023-11-24 10:04:55 +01:00
img_convert.h
lavc_conv.c various: remove no longer needed availability checks 2024-06-22 16:12:14 +02:00
meson.build meson: use relative file paths for file2string 2024-09-21 23:39:10 +02:00
osd.c sub/osd/console: adjust font sizes 2024-11-18 09:50:22 +01:00
osd.h sub: add (sub/osd)-border-style; renaming sub options 2024-07-12 20:17:38 +00:00
osd_font.otf tools: add narrow left arrow glyph for OSD 2024-05-05 13:47:20 +02:00
osd_libass.c sub/osd_libass: don't blur the osd-bar 2024-11-09 12:44:05 +01:00
osd_state.h sub: remove dead code 2024-09-03 18:31:38 +02:00
sd.h options: move sub-ass-override 'scale' above 'force' 2024-05-29 17:48:50 +00:00
sd_ass.c sd_ass: introduce sub-ass-prune-delay 2024-11-03 05:23:41 +01:00
sd_lavc.c sub: update codec info 2024-06-08 23:06:22 +02:00