Added a smoothing and strikethrough option to font loading. (#1087)

* Added a smoothing option to font loading.
* Added a font strikethrough option to font loading.
* Fixed underline applying incorrectly in cases of non-underlined fallback fonts being used.

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
This commit is contained in:
Aqil Contractor
2022-08-20 16:15:08 -04:00
committed by GitHub
co-authored by Guldoman
parent f07b62f852
commit 9b1bfeacac
6 changed files with 41 additions and 6 deletions
+2
View File
@@ -24,6 +24,8 @@ renderer.color = {}
-- @field public bold boolean
-- @field public italic boolean
-- @field public underline boolean
-- @field public smoothing boolean
-- @field public strikethrough boolean
renderer.fontoptions = {}
---