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 ContractorandGuldoman authored and GitHub committed 2022-08-20 16:15:08 -04:00
1 parent f07b62f852
commit 9b1bfeacac
6 files changed
+41 -6

No files matched your search

+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 = {}
---