mirror of https://github.com/mpv-player/mpv
console: reduce border size
This looks better if the ASS canvas size is used to scale according to HiDPI factor (instead of font size).
This commit is contained in:
parent
b899504862
commit
3267bcd210
|
@ -162,7 +162,7 @@ function update()
|
||||||
'\\1a&H00&\\3a&H00&\\4a&H99&' ..
|
'\\1a&H00&\\3a&H00&\\4a&H99&' ..
|
||||||
'\\1c&Heeeeee&\\3c&H111111&\\4c&H000000&' ..
|
'\\1c&Heeeeee&\\3c&H111111&\\4c&H000000&' ..
|
||||||
'\\fn' .. opts.font .. '\\fs' .. opts.font_size ..
|
'\\fn' .. opts.font .. '\\fs' .. opts.font_size ..
|
||||||
'\\bord2\\xshad0\\yshad1\\fsp0\\q1}'
|
'\\bord1\\xshad0\\yshad1\\fsp0\\q1}'
|
||||||
-- Create the cursor glyph as an ASS drawing. ASS will draw the cursor
|
-- Create the cursor glyph as an ASS drawing. ASS will draw the cursor
|
||||||
-- inline with the surrounding text, but it sets the advance to the width
|
-- inline with the surrounding text, but it sets the advance to the width
|
||||||
-- of the drawing. So the cursor doesn't affect layout too much, make it as
|
-- of the drawing. So the cursor doesn't affect layout too much, make it as
|
||||||
|
|
Loading…
Reference in New Issue