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:
wm4 2019-12-22 12:52:36 +01:00
parent b899504862
commit 3267bcd210
1 changed files with 1 additions and 1 deletions

View File

@ -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