diff options
Diffstat (limited to 'plugins/scale.lua')
-rw-r--r-- | plugins/scale.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/scale.lua b/plugins/scale.lua index 0d07286..14648fd 100644 --- a/plugins/scale.lua +++ b/plugins/scale.lua @@ -29,10 +29,11 @@ if io.open(DATADIR .. "/fonts/JetBrainsMono-Regular.ttf", "r") then end -- the following should be kept in sync with core.style's default font settings -font_cache[style.font] = { DATADIR .. "/fonts/" .. regular_font, 14 * SCALE } -font_cache[style.big_font] = { DATADIR .. "/fonts/" .. regular_font, 34 * SCALE } -font_cache[style.icon_font] = { DATADIR .. "/fonts/icons.ttf", 14 * SCALE } -font_cache[style.code_font] = { DATADIR .. "/fonts/" .. monospace_font, 13.5 * SCALE } +font_cache[style.font] = { DATADIR .. "/fonts/" .. regular_font, 13 * SCALE } +font_cache[style.big_font] = { DATADIR .. "/fonts/" .. regular_font, 40 * SCALE } +font_cache[style.icon_font] = { DATADIR .. "/fonts/icons.ttf", 14 * SCALE } +font_cache[style.icon_big_font] = { DATADIR .. "/fonts/icons.ttf", 20 * SCALE } +font_cache[style.code_font] = { DATADIR .. "/fonts/" .. monospace_font, 13 * SCALE } local load_font = renderer.font.load |