From 3267bcd210af431c7f8b22f4a7653d3881209b36 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 22 Dec 2019 12:52:36 +0100 Subject: console: reduce border size This looks better if the ASS canvas size is used to scale according to HiDPI factor (instead of font size). --- player/lua/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua/console.lua b/player/lua/console.lua index c59874cd32..2444f3359d 100644 --- a/player/lua/console.lua +++ b/player/lua/console.lua @@ -162,7 +162,7 @@ function update() '\\1a&H00&\\3a&H00&\\4a&H99&' .. '\\1c&Heeeeee&\\3c&H111111&\\4c&H000000&' .. '\\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 -- 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 -- cgit v1.2.3