stats.lua: set sans-serif as default font

sans is deprecated and unsupported on some platforms.
This commit is contained in:
m154k1
2023-07-10 16:58:54 +02:00
committed by sfan5
parent a0f1bbddff
commit cbb1af64d5
2 changed files with 3 additions and 10 deletions
+2 -9
View File
@@ -35,13 +35,6 @@ UP Scroll one line up
DOWN Scroll one line down
==== ==================
Font
~~~~
For optimal visual experience, a font with support for many font weights and
monospaced digits is recommended. By default, the open source font
`Source Sans Pro <https://github.com/adobe-fonts/source-sans-pro>`_ is used.
Configuration
-------------
@@ -110,13 +103,13 @@ Configurable Options
Clear data buffers used for drawing graphs when toggling.
``font``
Default: Source Sans Pro
Default: sans-serif
Font name. Should support as many font weights as possible for optimal
visual experience.
``font_mono``
Default: Source Sans Pro
Default: monospace
Font name for parts where monospaced characters are necessary to align
text. Currently, monospaced digits are sufficient.
+1 -1
View File
@@ -43,7 +43,7 @@ local o = {
plot_color = "FFFFFF",
-- Text style
font = "sans",
font = "sans-serif",
font_mono = "monospace", -- monospaced digits are sufficient
font_size = 8,
font_color = "FFFFFF",