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
No known key found for this signature in database
GPG Key ID: 7C83A6FF8B56607B
1 changed files with 4 additions and 1 deletions

View File

@ -497,11 +497,14 @@ local style = require "core.style"
--
-- 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:
-- antialiasing: grayscale, subpixel
-- hinting: none, slight, full
-- bold: true, false
-- italic: true, false
-- underline: true, false
------------------------------ Plugins ----------------------------------------