mirror of https://github.com/mpv-player/mpv
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:
parent
e00d8dcb03
commit
d2fd394036
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue