diff options
author | jgmdev <jgmdev@gmail.com> | 2021-06-01 04:19:27 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2021-06-01 04:19:27 -0400 |
commit | 19167f6359ab70664d7b4e6a07d535f39a2623b6 (patch) | |
tree | a466467187cc88fd66b6d34110d3b1465cd41385 /plugins/scale.lua | |
parent | 2594d54ec414b55da3f5fa1950abb24c08db935a (diff) | |
download | lite-xl-plugins-19167f6359ab70664d7b4e6a07d535f39a2623b6.tar.gz lite-xl-plugins-19167f6359ab70664d7b4e6a07d535f39a2623b6.zip |
Updated cache font sizes
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 |