aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2021-06-01 04:19:27 -0400
committerjgmdev <jgmdev@gmail.com>2021-06-01 04:19:27 -0400
commit19167f6359ab70664d7b4e6a07d535f39a2623b6 (patch)
treea466467187cc88fd66b6d34110d3b1465cd41385 /plugins
parent2594d54ec414b55da3f5fa1950abb24c08db935a (diff)
downloadlite-xl-plugins-19167f6359ab70664d7b4e6a07d535f39a2623b6.tar.gz
lite-xl-plugins-19167f6359ab70664d7b4e6a07d535f39a2623b6.zip
Updated cache font sizes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/scale.lua9
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