Merge pull request #1079 from cisoun/master

Add font style options in user module
This commit is contained in:
Guldoman 2022-07-16 04:27:39 +02:00 committed by GitHub
commit 06b2fada07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: -- 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 ----------------------------------------