summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2023-11-08 00:03:48 +0100
committerDudemanguy <random342@airmail.cc>2023-12-06 19:06:41 +0000
commitc16f868dd7f0d6862a6e2cdfb12492467f288fee (patch)
treed74019112cd10285258b18994584b94d3c9194f2 /.github
parent21bd301372304c3b0c194999442d3c8b690d41c1 (diff)
downloadmpv-c16f868dd7f0d6862a6e2cdfb12492467f288fee.tar.bz2
mpv-c16f868dd7f0d6862a6e2cdfb12492467f288fee.tar.xz
console: automatically determine the font_hw_ratio
A simplified version of the text width estimation code from uosc. An osd_overlay is created with compute_bounds=true for measuring the width of the lower case alphabet at what's estimated to be the largest font size possible without clipping. The lower case alphabet was chosen to get decent results for proportional fonts, even if they aren't officially supported.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions