diff --git a/data/core/init.lua b/data/core/init.lua index fe1f52c0..81b85704 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -271,8 +271,8 @@ local style = require "core.style" ------------------------------- Fonts ---------------------------------------- -- customize fonts: --- style.font = renderer.font.load(DATADIR .. "/fonts/font.ttf", 13 * SCALE) --- style.code_font = renderer.font.load(DATADIR .. "/fonts/monospace.ttf", 12 * SCALE) +-- style.font = renderer.font.load(DATADIR .. "/fonts/FiraSans-Medium.ttf", 13 * SCALE) +-- style.code_font = renderer.font.load(DATADIR .. "/fonts/FiraCode-Medium.ttf", 12 * SCALE) -- -- font names used by lite: -- style.font : user interface diff --git a/data/core/style.lua b/data/core/style.lua index 65c40d9c..f78bf3bb 100644 --- a/data/core/style.lua +++ b/data/core/style.lua @@ -21,11 +21,11 @@ style.tab_width = common.round(170 * SCALE) -- -- On High DPI monitor or non RGB monitor you may consider using antialiasing grayscale instead. -- The antialiasing grayscale with full hinting is interesting for crisp font rendering. -style.font = renderer.font.load(DATADIR .. "/fonts/FiraSans-Medium.ttf", 14 * SCALE) +style.font = renderer.font.load(DATADIR .. "/fonts/FiraSans-Medium.ttf", 13 * SCALE) style.big_font = renderer.font.load(DATADIR .. "/fonts/FiraSans-Medium.ttf", 40 * SCALE) style.icon_font = renderer.font.load(DATADIR .. "/fonts/icons.ttf", 14 * SCALE, {antialiasing="grayscale", hinting="full"}) style.icon_big_font = renderer.font.load(DATADIR .. "/fonts/icons.ttf", 20 * SCALE, {antialiasing="grayscale", hinting="full"}) -style.code_font = renderer.font.load(DATADIR .. "/fonts/FiraCode-Medium.ttf", 14 * SCALE) +style.code_font = renderer.font.load(DATADIR .. "/fonts/FiraCode-Medium.ttf", 12 * SCALE) style.background = { common.color "#2e2e32" } style.background2 = { common.color "#252529" } diff --git a/data/user/init.lua b/data/user/init.lua index a1c6ddd3..10a619da 100644 --- a/data/user/init.lua +++ b/data/user/init.lua @@ -21,8 +21,8 @@ local style = require "core.style" ------------------------------- Fonts ---------------------------------------- -- customize fonts: --- style.font = renderer.font.load(DATADIR .. "/fonts/font.ttf", 13 * SCALE) --- style.code_font = renderer.font.load(DATADIR .. "/fonts/monospace.ttf", 12 * SCALE) +-- style.font = renderer.font.load(DATADIR .. "/fonts/FiraSans-Medium.ttf", 13 * SCALE) +-- style.code_font = renderer.font.load(DATADIR .. "/fonts/FiraCode-Medium.ttf", 12 * SCALE) -- -- font names used by lite: -- style.font : user interface