diff options
author | Oneric <oneric@oneric.stub> | 2022-08-31 13:46:17 +0000 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-09-19 15:56:38 +0200 |
commit | 9e3ec04d56f1ef2c6a9981cb4a0699b5f6ecbdd0 (patch) | |
tree | ce4bab765aced029c0ce79d94798ce60eb79b68a /DOCS | |
parent | ba81e4ed88433b021282ca435c80361418d66999 (diff) | |
download | mpv-9e3ec04d56f1ef2c6a9981cb4a0699b5f6ecbdd0.tar.bz2 mpv-9e3ec04d56f1ef2c6a9981cb4a0699b5f6ecbdd0.tar.xz |
sub: use Unicode linebreaking for non-ASS subs and OSD
ASS must only automatically break at ASCII spaces (\x20), but other
subtitle formats might expect more breaking oppurtinities.
Especially non-ASS subs in scripts, which typically do not use (ASCII)
spaces to seperate words, like e.g. CJK, might overflow the screen
if the conversion didn't insert additional linebreaks (ffmpeg does not).
Thus try to enable Unicode linebreaking for converted subs and the OSD
if libass is new enough. The feature may still be unavailable at runtime
if libass wasn't build with Unicode linebreaking support.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions