Add font style options in user module

This commit is contained in:
cisoun
2022-07-15 12:05:59 +02:00
parent d7f9b30d05
commit 366cadf605
+4 -1
View File
@@ -497,11 +497,14 @@ local style = require "core.style"
-- --
-- the function to load the font accept a 3rd optional argument like: -- the function to load the font accept a 3rd optional argument like:
-- --
-- {antialiasing="grayscale", hinting="full"} -- {antialiasing="grayscale", hinting="full", bold=true, italic=true, underline=true}
-- --
-- possible values are: -- possible values are:
-- antialiasing: grayscale, subpixel -- antialiasing: grayscale, subpixel
-- hinting: none, slight, full -- hinting: none, slight, full
-- bold: true, false
-- italic: true, false
-- underline: true, false
------------------------------ Plugins ---------------------------------------- ------------------------------ Plugins ----------------------------------------