console.lua: increase the font and border size

Make the console easier to read because the current default is too
small. See for example
https://github.com/mpv-player/mpv/discussions/14903#discussioncomment-10794701
or https://github.com/mpv-player/mpv/pull/15036#discussion_r1794178379
or https://github.com/mpv-player/mpv/pull/15145#issuecomment-2428762898
or https://github.com/mpv-player/mpv/pull/15031#issuecomment-2402289600.

This also prevents libass from decreasing performance by printing many
lines.
This commit is contained in:
Guido Cella 2024-10-27 20:10:33 +01:00 committed by Kacper Michajłow
parent e00d8dcb03
commit d2fd394036
2 changed files with 4 additions and 4 deletions

View File

@ -154,13 +154,13 @@ Configurable Options
aligned correctly. aligned correctly.
``font_size`` ``font_size``
Default: 16 Default: 24
Set the font size used for the REPL and the console. This will be Set the font size used for the REPL and the console. This will be
multiplied by ``display-hidpi-scale``. multiplied by ``display-hidpi-scale``.
``border_size`` ``border_size``
Default: 1 Default: 1.5
Set the font border size used for the REPL and the console. Set the font border size used for the REPL and the console.

View File

@ -18,8 +18,8 @@ local assdraw = require 'mp.assdraw'
-- Default options -- Default options
local opts = { local opts = {
font = "", font = "",
font_size = 16, font_size = 24,
border_size = 1, border_size = 1.5,
scale_with_window = "auto", scale_with_window = "auto",
case_sensitive = true, case_sensitive = true,
history_dedup = true, history_dedup = true,